README.md in graphql-relay-0.8.1 vs README.md in graphql-relay-0.9.0
- old
+ new
@@ -196,12 +196,10 @@
First, define the custom connection:
```ruby
class SetConnection < BaseConnection
# derive a cursor from `item`
- # (it is used to find next & previous nodes,
- # so it should include `order`)
def cursor_from_node(item)
# ...
end
private
@@ -342,13 +340,13 @@
2. http://mgiroux.me/2015/getting-started-with-rails-graphql-relay/
3. http://mgiroux.me/2015/uploading-files-using-relay-with-rails/
## Todo
-- Allow custom defined ID scheme
- Allow custom edge fields (per connection type)
- `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?)
- Make GlobalId a property of the schema, not a global
+- Reduce duplication in ArrayConnection / RelationConnection
## More Resources
- [GraphQL Slack](http://graphql-slack.herokuapp.com), come join us in the `#ruby` channel!
- [`graphql`](https://github.com/rmosolgo/graphql-ruby) Ruby gem