apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Update localSchemaFile docs in "configuring apollo"

Open JakeDawkins opened this issue 4 years ago • 3 comments

The apollo config now supports using multiple localSchemaFiles in the config file!

This PR updates the docs for configuring apollo projects to reflect that.

Note: the name is purposefully localSchemaFile and not localSchemaFiles to support backwards-compatibility and to avoid adding yet another option and CLI flag.

JakeDawkins avatar Oct 09 '19 14:10 JakeDawkins

@StephenBarlow for things like this, how should we go about documenting or noting that this won't work with older versions of the config used in old CLI releases or old VS code releases?

We added this support in a patch version (probably an oversight there 😬) of both the extension and CLI ([email protected], [email protected])

JakeDawkins avatar Oct 09 '19 14:10 JakeDawkins

@JakeDawkins Regarding version availability, I recommend a little blockquote notice immediately after the feature in question is mentioned, such as:

> Support for linking _multiple_ local schema files is available in the Apollo CLI version 2.18.2 and later, and in the Apollo VS Code extension version 1.10.2 and later. 

After enough time has passed that most folks are probably on these versions or later, we can remove the notice.

StephenBarlow avatar Oct 10 '19 00:10 StephenBarlow

Had to dig a lot to find this. Hope it will be merged soon.

GuillaumeDesforges avatar May 01 '20 13:05 GuillaumeDesforges