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
Hi,
I implemented GraphQL server with the code first approach. So i used my own classes by defining queries and mutations and the hotchocolate platform created schema in the background for me . I tested the application with Banana Cake Pop and somehow hotchocolate knew how to operate between types which are defined in schema and my DTO/Domain types.
After that i built some console application as GraphQL client. So i used schema first approach and my question is how i tell to the StrawberryShake to use my domain types (i want to use the same nugets in both projects) instead of auto generated types which are created during compilation of the project.
I want to achieve the same thing that hotchocolate does in my server but in reverse order from auto generated types of schema to my domain types.
Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I implemented GraphQL server with the code first approach. So i used my own classes by defining queries and mutations and the hotchocolate platform created schema in the background for me . I tested the application with Banana Cake Pop and somehow hotchocolate knew how to operate between types which are defined in schema and my DTO/Domain types.
After that i built some console application as GraphQL client. So i used schema first approach and my question is how i tell to the StrawberryShake to use my domain types (i want to use the same nugets in both projects) instead of auto generated types which are created during compilation of the project.
I want to achieve the same thing that hotchocolate does in my server but in reverse order from auto generated types of schema to my domain types.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions