Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Upgrade to support relay v10.0.1 #199

Merged
merged 5 commits into from
Jul 27, 2020

Conversation

thicodes
Copy link
Contributor

  • Sync Fixtures
  • Update examples

Copy link
Contributor

@sibelius sibelius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@zephraph
Copy link
Collaborator

Given that this contains some major updates to direct dependencies should we release a major? cc @alloy.

Copy link
Member

@alloy alloy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice 🙏

Agreed with @zephraph that this should be a major bump 👍

readonly __typename: string | null;
readonly id: string | null;
readonly __typename: string;
readonly id: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did all the nullability of these fields change? Did the test schema change?

Copy link
Member

@maraisr maraisr Jul 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its okay to merge this snapshot, the field is non-nullable in the testschema https://github.com/facebook/relay/blob/master/packages/relay-test-utils-internal/testschema.graphql#L813

Test utils was also updated: https://github.com/relay-tools/relay-compiler-language-typescript/pull/199/files#diff-8ee2343978836a779dc9f8d6b794c3b2R5104

I can't exactly find a commit to test utils that touched the null-ability of that field. But I think its safe to push it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah if the schema has these fields as non-nullable, then that’s good enough for me 👍

@alloy alloy added the Version: Major Increment the major version when merged label Jul 26, 2020
@thicodes thicodes merged commit 8865ec0 into relay-tools:master Jul 27, 2020
@thicodes thicodes deleted the feat/upgrade-relay-10.1 branch July 27, 2020 14:09
@alloy
Copy link
Member

alloy commented Jul 27, 2020

🚀 PR was released in v13.0.0 🚀

@alloy alloy added the released label Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
released Version: Major Increment the major version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants