graphql-guidelines icon indicating copy to clipboard operation
graphql-guidelines copied to clipboard

Improve guideline

Open avedetvedea opened this issue 3 years ago • 0 comments

At the beginning of the guideline, an example was given under Type of types, as EventsPageLeftRailAttendWidget under Domain specific types. This didn't really click to me, where seconds later under the part Describe the data, not the view, an example was given as:

Put in Yelpy terms; don't add a "UserProfileCard" type to return down the data to render a user's information in a Profile component.

Instead, use the existing User type and return that to populate the Profile card component.

This occurs to me as an inconsistency in the guideline. Am I missing something?

avedetvedea avatar Oct 02 '22 18:10 avedetvedea