Closed Antiarchitect closed 4 years ago
@Antiarchitect Not sure I understand this question. Can you give examples of SDL that you want to restrict? Also please explain your use case in more detail.
@IvanGoncharov We are trying to use graphql-faker as a proxy to our real graphql API and want simple mocking. So we want to restrict of changing/adding new types and stuff and allow only to fake the data.
@Antiarchitect So if you can't change types or add new types what you are doing with a proxy?
If you want to just mock server you can dump server's introspection as SDL and run it without --extend
.
Ok, thank you @IvanGoncharov
Is there any way to restrict extending the schema (when using the --extend option) and allow to only fake data?