2 Commits

Author SHA1 Message Date
Wolfgang Huß
30f268525f Add Cypher statement for ordering
- minor db manipulation text change
2019-10-16 13:32:45 +02:00
mattwr18
faf0a15aee Update to use enum in tests, seed data, etc, refactor resolver
- Extract validations to the validations middleware to clean it up
- Remove resourceId since it throws an error in the mutation if the user
asks for it back, and the resourceId is returned in post/comment/user.id
- use writeTxResultPromise to benefit from automatic retries
- more descriptive variable naming
- extract cypher query to make db manipulation into script so that it
can be run from the command line, at least locally.
2019-10-14 21:07:55 +02:00