You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You want to generate GraphQL queries from this schema to support replication using the pullQueryBuilderFromRxSchema, pullStreamBuilderFromRxSchema & pushQueryBuilderFromRxSchema util functions.
Currently, the query builder functions only generate output fields for top-level keys. So given mySchema above we get the following pull query when we pass the schema to the pullQueryBuilderFromRxSchema:
Faling test PR
You have a RX schema for a document in your collection with nested fields:
You want to generate GraphQL queries from this schema to support replication using the
pullQueryBuilderFromRxSchema
,pullStreamBuilderFromRxSchema
&pushQueryBuilderFromRxSchema
util functions.Currently, the query builder functions only generate output fields for top-level keys. So given
mySchema
above we get the following pull query when we pass the schema to thepullQueryBuilderFromRxSchema
:As you can see, the properties of
address
are not generated and this causes a GraphQL validation error :ideally, the function should be able to generate output fields for nested objects as well:
The text was updated successfully, but these errors were encountered: