Help using Schemathesis and Ariadne for automatically generating test cases from Federation GraphQL schema #1249
Unanswered
StevenACoffman
asked this question in
Q&A
Replies: 2 comments
-
|
@mociepka @reallistic Do you have any guidance on where the scalars for Apollo federation are implemented in Ariadne? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@StevenACoffman the code that loads the federated schema types is here. There is no existing api to import those to provide them to schemathesis. You might be able to use the subgraphs |
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.
-
I'm trying to use https://github.com/schemathesis/schemathesis with an Apollo Federation schema backend by Ariadne subgraphs.
However, Schemathesis requires that custom scalars (like those necessary for Apollo Federation) be registered with it per https://github.com/schemathesis/schemathesis/blob/master/docs/guides/graphql-custom-scalars.md
I'm trying to import those necessary from Ariadne but running into some problems. Has anyone done this?
https://www.apollographql.com/docs/graphos/schema-design/federated-schemas/reference/subgraph-spec#subgraph-schema-additions
Beta Was this translation helpful? Give feedback.
All reactions