graphql-engine/server/src-lib/Hasura/SQL
Rakesh Emmadi 5f274b5527 fix mutation returning when relationships are present (fix #1576) (#1703)
If returning field contains nested selections then mutation is performed in two steps
1. Mutation is performed with returning columns of any primary key and unique constraints
2. returning fields are queried on rows returned by selecting from table by filtering with column values returned in Step 1.

Since mutation takes two courses based on selecting relations in returning field, it is hard to maintain sequence of prepared arguments (PrepArg) generated while resolving returning field. So, we're using txtConverter instead of prepare to resolve mutation fields.
2019-03-07 15:54:07 +05:30
..
DML.hs fix mutation returning when relationships are present (fix #1576) (#1703) 2019-03-07 15:54:07 +05:30
GeoJSON.hs refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30
Rewrite.hs fix mutation returning when relationships are present (fix #1576) (#1703) 2019-03-07 15:54:07 +05:30
Time.hs refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30
Types.hs breaking: correct (de)serialisation of postgres numeric types in json (fix #1523) (#1662) 2019-03-01 17:15:04 +05:30
Value.hs fix mutation returning when relationships are present (fix #1576) (#1703) 2019-03-07 15:54:07 +05:30