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
strawberry scalar of type JSON #2106
Comments
Schemathesis uses the from hypothesis import strategies as st
import schemathesis
from schemathesis.graphql import nodes
schemathesis.graphql.scalar("Date", st.dates().map(nodes.String)) my guess is (based on the relevant js impl) that the actual node type depends on the JSON value type, so should it be wrapped in
|
sadly still failing with: I wonder what kind of magic the strawberry guys are using |
I’ll check it in more detail, the inner structure of GraphQL nodes should be relatively straightforward. Maybe some inner parts should be wrapped too |
How can I add some scalar like strawberry JSON?
schemathesis always crashes while printing the AST.
is the definition
wrong? Or there a bug in schemathesis?
I get the error:
TypeError: Invalid AST Node: {'action': 'manage'}.
The text was updated successfully, but these errors were encountered: