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

Add --dynamicArgs option to generate operation arguments dynamically #363

Merged
merged 2 commits into from
May 6, 2022

Commits on Apr 21, 2022

  1. Add --dynamicArgs option to generate operation arguments dynamically

    Originally for any graphql operation with arguments every formal and actual
    argument has been generated into the corresponding function in
    RootStore.base.ts.
    
    Using --dynamicArgs=true or setting in mst-gql.config.js dynamicArgs:true
    will cause generation of operation functions, which will create graphql
    operations, which only define those arguments, which have a matching
    variable set in "variables". This dynamic argument generation solves issues
    with Hasura mutations as well.
    beepsoft committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    3e8fae8 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Merge branch 'main-project-main' into fix-mutation-args

    # Conflicts:
    #	generator/generate.js
    beepsoft committed May 3, 2022
    Configuration menu
    Copy the full SHA
    1d37144 View commit details
    Browse the repository at this point in the history