README.md in graphql-relay-0.4.2 vs README.md in graphql-relay-0.4.3

- old
+ new

@@ -42,10 +42,12 @@ - [Connection with custom arguments](https://github.com/rmosolgo/graphql-relay-ruby/blob/master/spec/support/star_wars_schema.rb#L51-L63) - [Connection with a different name than the underlying property](https://github.com/rmosolgo/graphql-relay-ruby/blob/master/spec/support/star_wars_schema.rb#L77) You can also add custom fields to connection objects: [Example](https://github.com/rmosolgo/graphql-relay-ruby/blob/master/spec/support/star_wars_schema.rb#L36-L43) +At runtime, `graphql-relay` chooses a connection implementation to expose a collection. `graphql-relay` provides `ArrayConnection` and `RelationConnection`, but you can also provide your own with `BaseConnection.register_connection_implementation`. + ### Mutations Mutations allow Relay to mutate your system. When you define a mutation, you'll be defining: - A field for your schema's `mutation` root - A derived `InputObjectType` for input values @@ -69,9 +71,10 @@ - Mount on mutation type: [example](https://github.com/rmosolgo/graphql-relay-ruby/blob/master/spec/support/star_wars_schema.rb#L127) ## Todo - Show how to replace default connection implementations with custom ones +- Show how to wrap a simple field in a connection field with `ConnectionField.create` ## 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