ChilliCream / hotchocolate-examples

MIT License
187 stars 137 forks source link

Question about StrawberryShake generated classes #51

Open goodstas opened 1 year ago

goodstas commented 1 year ago

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.