In GraphQL schema, we represent the two document collections as types, with a directive to indicate whatĬollection it lives in. ![]() In Arango we have created this as an Owner document collection, a Car document collection and an ownership edge Owners andĬars are linked by an edge indicating ownership. Our Graph contains two entities Owners and Cars. Let's walk through a simple example with a simple Graph. In the test resources, there is a Spring profile to match each of the example graphs. Have your connection details in the arangodb section, as shown here. ![]() Configure your ArangoDB Connection DetailsĮdit the /src/main/resources/application.yaml file to In ArangoDB - you can create any of the Example Graphs documented here: Mvn install Set up your ArangoDB database To get started you can build the root POM in this directory with Building and Testing Build the Libraries from scratch We also plan to support theĪsync driver in the future. The current implementation uses the sync driver for ArangoDB. ![]() We plan to support newer Java versions in the future. RequirementsĬurrently, Java 8 is required. These directives will be used to add metadata to your GraphQL schema to help map your GraphQL types to your underlying Directive : String!, direction: String !) on FIELD_DEFINITION directive : String!) on OBJECT directive : String) on INTERFACE | UNION directive : String) on OBJECT directive on FIELD_DEFINITION
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |