Skip to content

In check_required_attrs we need to also check for values #28

Description

@coreyjs

A required attribute should also have a value, just just its inclusion in the args.

# TODO need to also check that these required attributes have values

In a mutation, when we mark an attribute as being required using the method required_attr :my_attr, the presence alone should not be an indication of requirement but it should also be a non nil value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions