php-graphql-oqm icon indicating copy to clipboard operation
php-graphql-oqm copied to clipboard

InputObject

Open rccc opened this issue 3 years ago • 0 comments

Hello,

I was wondering what to do with the generated InputObject Classes ( use then in a mutation ?) when i noticed some "InputObject" classes seems to not be generated.

I understand that InputObject classes are generated with this model name : {OBJECT_NAME}InputObject

I have a table that i can query like this:

query MyQuery {
  solvant {
    id
    name
    abbr
  }
}

i cannot find "solvantInputObject" class, but "solvant_order_byInputObject" class is generated.

I can't undertand why.

Many thanks in advance.

nb: my GraphQL schema is generated with Hasura.

rccc avatar Feb 09 '22 18:02 rccc