Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about StrawberryShake generated classes #51

Open
goodstas opened this issue Feb 16, 2023 · 0 comments
Open

Question about StrawberryShake generated classes #51

goodstas opened this issue Feb 16, 2023 · 0 comments

Comments

@goodstas
Copy link

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 objects.
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 instead of auto generated types which are created during compilation.
Like what hotchocolate does in my server but in reverse order from auto generated types of schema to my domain types.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant