Skip to content

Commit

Permalink
fixed markdown parser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Dec 16, 2019
1 parent e70fc56 commit aa3ca8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ bower.json
tslint.json
.vscode
.idea
packages/tc-schema-sdk/data-accessors/__tests__/fixtures/generated-schema.graphql
4 changes: 2 additions & 2 deletions example-schema/relationships/CuriousChild.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CuriousChild
from:
type: MainType
hasMany: false
hasMany: true
to:
type: ChildType
hasMany: true
hasMany: false
relationship: HAS_CURIOUS_CHILD
properties:
someString:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ type CostCentre {
"""
The groups which are costed to the cost centre
"""
hasGroups(first: Int, offset: Int): [Group]
@relation(name: "PAYS_FOR", direction: "OUT")
hasGroups(first: Int, offset: Int): [Group] @relation(name: "PAYS_FOR", direction: "OUT")
"""
The recursive groups which are costed to the cost centre
"""
hasNestedGroups(first: Int, offset: Int): [Group]
@cypher(
statement: "MATCH (this)-[:PAYS_FOR*1..20]->(related:Group) RETURN DISTINCT related"
)
hasNestedGroups(first: Int, offset: Int): [Group] @cypher(statement: "MATCH (this)-[:PAYS_FOR*1..20]->(related:Group) RETURN DISTINCT related")
"""
Group that embezzles description
"""
Expand Down

0 comments on commit aa3ca8d

Please sign in to comment.