Skip to content

Releases: ivandotv/graphql-no-alias

[email protected]

04 Feb 18:35
e9afe9a
Compare
Choose a tag to compare

Patch Changes

[email protected]

04 Feb 18:22
b26af09
Compare
Choose a tag to compare

Patch Changes

[email protected]

04 Feb 13:05
2f07a43
Compare
Choose a tag to compare

Major Changes

Patch Changes

[email protected]

30 Jan 20:20
7f44b7e
Compare
Choose a tag to compare

Patch Changes

[email protected]

30 Jan 20:06
f61c651
Compare
Choose a tag to compare

Patch Changes

[email protected]

30 Jan 20:20
7f44b7e
Compare
Choose a tag to compare

Patch Changes

[email protected]

30 Jan 20:06
f61c651
Compare
Choose a tag to compare

Patch Changes

[email protected]

24 Jan 21:53
0a1b105
Compare
Choose a tag to compare

Patch Changes

  • f769837: Initial publish of envelop-no-alias

    Update readme for: graphql-no-alias

  • 2bd3790: Update docs

[email protected]

24 Jan 21:53
0a1b105
Compare
Choose a tag to compare

Major Changes

  • f769837: Initial publish of envelop-no-alias

    Update readme for: graphql-no-alias

Patch Changes

v2.0.0

03 Jan 22:00
c662421
Compare
Choose a tag to compare

Major Changes

  • dc1d95f: Implement imperative configuration

    With imperative configuration, there is no need for type definition and schema modification.

    const permissions = {
      Query: {
        '*': 2, // default value for all queries
        getAnotherUser: 5 // custom value for specific query
      },
      Mutation: {
        '*': 1 //default value for all mutations
      }
    }
    const { validation } = createValidation({ permissions })
    
    const schema = buildSchema(/* GraphQL */ `
      type Query {
        getUser: User
        getAnotherUser: User
      }
      type User {
        name: String
      }
    `)

    When the permissions key is passed to configuration, schema directives will be ignored.

  • fccb773: Change function signature, make it use a single config object