graphene-validator icon indicating copy to clipboard operation
graphene-validator copied to clipboard

A Python micro library to ease field validation in Graphene

Results 2 graphene-validator issues
Sort by recently updated
recently updated
newest added

The `@validated` class decorator doesn't work with mutation classes inherited from Graphene's `relay.ClientIDMutation`, as issue #10 explains. The `@validated` class decorator also always performs validation before the mutation class's actual...

Relay mutations are those inherited from `graphene.relay.ClientIDMutation`. To reproduce, add this code to `tests.py` and try to run tests: ```python @validated class RelayMutation(graphene.relay.ClientIDMutation): @classmethod def mutate_and_get_payload(cls, root, info, **_inpt): return...