[FEATURE] allow selecting Type as strategy for graphql schemas #1982
Labels
Priority: High
Important but not urgent
Type: Feature
New functionalities or enhancements
UX: Usability
Enhances user experience
Thanks for the great improvements to the graphql schemas. I have a little suggestion how to select the operation:
Would it be possible to subclass the dict used for graphql_schema["Operation"] and provide a as_strategy method?
This would allow intuitively selecting an operation and test all fields.
Example:
This shortcut would maybe be nice for openapi too and could allow feature parity with the existing @parameterize decorator.
Further thought: would it also be possible to implement an as_strategy method directly on a schema (to test everything without selecting)?
The text was updated successfully, but these errors were encountered: