Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

[WIP] Update to relay 1.4.1#913

Closed
alloy wants to merge 2 commits intomasterfrom
update-to-relay-1.4.1-with-custom-node-id-patches
Closed

[WIP] Update to relay 1.4.1#913
alloy wants to merge 2 commits intomasterfrom
update-to-relay-1.4.1-with-custom-node-id-patches

Conversation

@alloy
Copy link
Copy Markdown
Contributor

@alloy alloy commented Dec 26, 2017

This uses my updated Relay custom Node ID patches, which brings in the latest Relay. While it seems to work well, I’m not sure if we should merge it in this repo at this time just before v4. Let’s wait for now, but feel free to give it a spin!

They made the warning about fields starting with a dunderscore into
real errors, so simply disabling that code after installation.
Comment thread package.json
"homepage": "https://github.com/artsy/emission#readme",
"files": ["index.js", "data", "lib"],
"resolutions": {
"graphql": "^0.12.3",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Some of our dev deps pull in an older version, which messes with the tree we want, so just overriding it for now.

+ // // as it may be removed at any time.
+ // name !== '__configs__') {
+ // return new _GraphQLError.GraphQLError('Name "' + name + '" must not begin with "__", which is reserved by ' + 'GraphQL introspection.', node);
+ // }
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

graphql-js made this a hard error now 😢 Just disabling it for now.

@ArtsyOpenSource
Copy link
Copy Markdown

Fails
🚫

No CHANGELOG added.

🚫

Missing Test Files:

  • src/lib/Components/Artist/Artworks/__tests__/index-tests.tsx
  • src/lib/Components/ArtworkGrids/RelayConnections/__tests__/ArtistForSaleArtworksGrid-tests.tsx
  • src/lib/Components/ArtworkGrids/RelayConnections/__tests__/ArtistNotForSaleArtworksGrid-tests.tsx
  • src/lib/Components/Home/ArtistRails/__tests__/ArtistRail-tests.tsx
  • src/lib/Components/Inbox/Conversations/__tests__/index-tests.tsx
  • src/lib/Scenes/Favorites/Components/Artists/__tests__/index-tests.tsx
  • src/lib/Scenes/Favorites/Components/Artworks/Relay/__tests__/ArtworksRenderer-tests.tsx
  • src/lib/Scenes/Favorites/Components/Artworks/__tests__/index-tests.tsx
  • src/lib/Scenes/Favorites/Components/Categories/__tests__/index-tests.tsx
  • src/lib/Scenes/Home/Components/ForYou/Components/__tests__/ArtworkCarousel-tests.tsx
  • src/lib/Scenes/Home/Components/Sales/Relay/__tests__/SalesRenderer-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

Generated by 🚫 dangerJS

@orta
Copy link
Copy Markdown
Contributor

orta commented Dec 26, 2017

We should try make a concerted effort to deal with all these:

src/lib/Components/Artist/Artworks/__tests__/index-tests.tsx
src/lib/Components/ArtworkGrids/RelayConnections/__tests__/ArtistForSaleArtworksGrid-tests.tsx
src/lib/Components/ArtworkGrids/RelayConnections/__tests__/ArtistNotForSaleArtworksGrid-tests.tsx
src/lib/Components/Home/ArtistRails/__tests__/ArtistRail-tests.tsx
src/lib/Components/Inbox/Conversations/__tests__/index-tests.tsx
src/lib/Scenes/Favorites/Components/Artists/__tests__/index-tests.tsx
src/lib/Scenes/Favorites/Components/Artworks/Relay/__tests__/ArtworksRenderer-tests.tsx
src/lib/Scenes/Favorites/Components/Artworks/__tests__/index-tests.tsx
src/lib/Scenes/Favorites/Components/Categories/__tests__/index-tests.tsx
src/lib/Scenes/Home/Components/ForYou/Components/__tests__/ArtworkCarousel-tests.tsx
src/lib/Scenes/Home/Components/Sales/Relay/__tests__/SalesRenderer-tests.tsx

@alloy
Copy link
Copy Markdown
Contributor Author

alloy commented Feb 7, 2018

Closing in favour of #982

@alloy alloy closed this Feb 7, 2018
@alloy alloy deleted the update-to-relay-1.4.1-with-custom-node-id-patches branch February 7, 2018 10:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants