Skip to content

Commit 0a38007

Browse files
committed
add todos
1 parent e0b9cfe commit 0a38007

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,12 @@ If you're building a backend for [Relay](http://facebook.github.io/relay/), you'
128128
- Problem: how can we load types in Rails without accessing the constant?
129129
- Maybe support by third-party library? `type("Post!")` could implement "type_missing", keeps `graphql-ruby` very simple
130130
- Type check improvements:
131+
- Include `path: [...]` in validation errors
131132
- Use catch-all type/field/argument definitions instead of terminating traversal
132133
- Reduce ad-hoc traversals?
134+
- Add Rails-y argument validations, eg `less_than: 100`, `max_length: 255`, `one_of: [...]`
135+
- Must be customizable
136+
- Refactor `Query#perform_validation`, how can that be organized better?
133137
- Relay:
134138
- `GlobalNodeIdentification.to_global_id` should receive the type name and _object_, not `id`. (Or, maintain the "`type_name, id` in, `type_name, id` out" pattern?)
135139
- Reduce duplication in ArrayConnection / RelationConnection

0 commit comments

Comments
 (0)