Type-graphql: Please make an update that includes React client side support

Created on 15 Mar 2019  路  2Comments  路  Source: MichalLytek/type-graphql

Is your feature request related to a problem? Please describe.
I am using typegraphql now inside of a node express app. I would like to reuse my graphql entities inside of my react app, which is also using typescript. I don't want to use apollo code generator.

Question Wontfix

Most helpful comment

You have to use graphql code generator because your query may use only a subset of the fields and all scalars like date or enum are serialized to strings.

All 2 comments

You have to use graphql code generator because your query may use only a subset of the fields and all scalars like date or enum are serialized to strings.

For other purposes (like reusing class-validator validation constraints) you can use the classes by using this trick:
https://typegraphql.ml/docs/browser-usage.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

winuxue picture winuxue  路  4Comments

robertchung97 picture robertchung97  路  3Comments

MichalLytek picture MichalLytek  路  3Comments

itsgracian picture itsgracian  路  3Comments

MichalLytek picture MichalLytek  路  4Comments