Skip to content

Automatic generation of queries and mutations #139

@jdacoello

Description

@jdacoello

Since s2dm modeling approach aims to empower domain experts (usually non-modelers), the idea is that they model actively in the GraphQL SDL type system. To keep it simple, the capabilities on the data described in the SDL can be automatically created in the form of Query and Mutation. For example:

The data structure is maintained by domain expert: What a seat is and what fields does it have?

type Seat {
  ...
}

whereas the capabilities are produced automatically by the tools: What a seat can do (or what one can do on a seat)?

type Query {
  ...
}

type Mutation {
  ...
}

What is the best generic pattern that makes sense to use for those API operation templates?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions