graphql

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations.

APACHE-2.0 License

Downloads
80K
Stars
503
Committers
61

Bot releases are hidden (Show)

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Minor Changes

  • #3402 baa787745 Thanks @darrellwarde! - Add top-level boolean operators for filtering on Subscriptions relationship events

  • #3482 b891355e5 Thanks @darrellwarde! - Export a new type, Neo4jGraphQLContext which can be passed into a GraphQL server to provide strong typing when populating the context with values to influence the behaviour of the Neo4j GraphQL Library. For an example of how this might be used, see the Apollo docs.

  • #3431 f19a57ca2 Thanks @angrykoala! - Add @settable directive, allowing to disable some fields from mutation operations

    For example:

    type Movie {
        title: String!
        description: String @settable(onCreate: true, onUpdate: false)
    }
    
  • #3432 0a444662b Thanks @MacondoExpress! - Add aggregate argument to the @relationship directive, allowing to disable nested aggregation

    For example:

    type Actor {
        username: String!
        password: String!
    }
    
    type Movie {
        title: String
        actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN, aggregate: false)
    }
    
  • #3403 f4d691566 Thanks @angrykoala! - Add @selectable directive, allowing to disable fields from query, aggregations and subscription responses

    For example:

    type Movie {
        title: String!
        description: String @selectable(onRead: true, onAggregate: false)
    }
    

Patch Changes

  • #3438 8c99be2fe Thanks @Liam-Doodson! - Fixed #3437 which caused the nestedOperations argument of @relationship to generate empty input types if the CONNECT, CREATE or CONNECT_OR_CREATE operations were not generated

  • #3489 0f32311ea Thanks @angrykoala! - Remove internal performance measurements requiring performance.now

  • #3465 5616aa662 Thanks @Liam-Doodson! - Fixed #3429 and added support for unions/interfaces to the nestedOperations argument of @relationship

  • #3446 1d5506525 Thanks @Liam-Doodson! - An empty nestedOperations array no longer causes <type><rel-field>UpdateFieldInput input types from being generated with only the where field

  • #3438 8c99be2fe Thanks @Liam-Doodson! - Fixed #3413 which caused the nestedOperations argument of @relationship to control top-level operations

  • #3445 cc7c8e6a9 Thanks @Liam-Doodson! - Fixed #3428 which caused an error when removing the CONNECT_OR_CREATE nestedOperation if the related type has a unique field

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Minor Changes

  • #3357 a39b22fc1 Thanks @mjfwebb! - Introduced relationship directive configuration with the new nestedOperations argument. This allows users to specify which nested operations they want to be built into the schema.

    Usage:

    type Movie {
        id: ID
        actors: [Person!]! @relationship(type: "ACTED_IN", direction: IN, nestedOperations: [CREATE, UPDATE, CONNECT])
    }
    

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Minor Changes

  • #3333 cc08bcd8a Thanks @MacondoExpress! - Introduced top-level schema configuration, @query, @mutation, @subscription.

    Usage:

    type User @query(read: false) @mutation(operations: [CREATE, DELETE]) {
        name: String
    }
    extend schema @subscription(operations: [CREATE])
    

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - [email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes

graphql - @neo4j/[email protected]

Published by neo4j-team-graphql over 1 year ago

Patch Changes