Replies: 1 comment
-
|
There are a few things to consider in this scenario:
That being said, their is no functionality to verify your existing model against a schema. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I understand it correctly, DGS is a schema first approach, unlike code first approach SPQR.
https://netflix.github.io/dgs/generating-code-from-schema/
But what if there is a model out there I'd like to reuse?
I mean, for example, I want to use DGS in a new orchestration layer, which I may want to reuse data-model
If the code mismatch from the graphql schema file, can I I'd expect some sort of compile time error??
Beta Was this translation helpful? Give feedback.
All reactions