Purpose of @relay(pattern:true)
问题 New expression @relay(pattern: true) was introduced in change log for relay.js 0.5 . But can't figure out from description nor tests what exactly it does and when I should use it when writing fatQueries . Some example would be very helpful. 回答1: Consider a GraphQL query like the following: viewer { friends(first: 10) { totalCount edges { node { name } } pageInfo { hasNextPage } } } When defining a fat query for a Relay mutation, to include the name of a field without specifying any of its