Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutations working correctly now with 'AndFetchById' methods #34

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Mutations working correctly now with 'AndFetchById' methods #34

wants to merge 6 commits into from

Commits on Nov 15, 2017

  1. Configuration menu
    Copy the full SHA
    499e3b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2017

  1. Configuration menu
    Copy the full SHA
    450ac57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cd7439 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2017

  1. Added basic Mutation support -

    The following operations are available:
    
    createXXXX
    updateXXXX	- For whole record updates
    patchXXXX - For partial record Updates
    deleteXXXX
    
    eg:
    mutation regionUpdate ($Id: Int!, $CountryId: Int!, $Name: String!) {
      updateIwRegion (idEq: $Id, country_id: $CountryId, name: $Name) {
        country_id
        name
      }
    }
    
    The selector fields which select which record(s) must use the extra field operation syntax in the parameters for the mutation.
    eg: idEq: $Id
    
    Other parameters are the fields that will be used to update the record fields.
    eg: country_id: $CountryId and name: $Name
    Trellian committed Dec 2, 2017
    Configuration menu
    Copy the full SHA
    6ac249c View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2017

  1. Configuration menu
    Copy the full SHA
    e8e7171 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2017

  1. changed calls to insert, update and patch to their 'AndFetch' v…

    …ersions.
    
    The id field for the record must be named in your model as `id`,
    and must be supplied as a filter operation in the GraphQL query as `idEq`
    for this to work.
    Trellian committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    fa23d3b View commit details
    Browse the repository at this point in the history