linksplatform / Data.Doublets.Gql

The Unlicense
9 stars 1 forks source link

Implement a schema extension for direct string to link and link to string conversion #8

Open Konard opened 3 years ago

Konard commented 3 years ago
mutation {
  insert_links_one(object: { string: { value: "The text key or value." } }) {
    returning {
      id
      string
    }
  }
}

Maybe it is possible to use extend for that case: http://spec.graphql.org/June2018/#sec-Object-Extensions

Konard commented 3 years ago

Another way to extend the schema can be https://graphql-dotnet.github.io/docs/getting-started/field-middleware