Skip to content

Revert "Configure ApolloProvider to always use fresh tokens "#1611

Merged
thedavidprice merged 1 commit intomainfrom
revert-1609-fix/use-fresh-tokens
Jan 7, 2021
Merged

Revert "Configure ApolloProvider to always use fresh tokens "#1611
thedavidprice merged 1 commit intomainfrom
revert-1609-fix/use-fresh-tokens

Conversation

@thedavidprice
Copy link
Copy Markdown
Contributor

Reverts #1609

Breaking on integration tests with a very unhelpful GraphQL error Error: getToken is not a function and no other error output.

@thedavidprice thedavidprice merged commit 8399f54 into main Jan 7, 2021
@thedavidprice thedavidprice deleted the revert-1609-fix/use-fresh-tokens branch January 7, 2021 18:00
@thedavidprice thedavidprice added this to the Next Release milestone Jan 7, 2021
@peterp
Copy link
Copy Markdown
Member

peterp commented Jan 7, 2021

@thedavidprice The e2e tests?

@thedavidprice
Copy link
Copy Markdown
Contributor Author

Correct. I set up a fresh project and upgraded to the canary for testing. The E2E tests failed. And I fiddled a bit with the project directly and could not further diagnose the error.

Should have known better than to try and squeeze this into v0.22 release. But it was worth a shot!

dac09 added a commit to dac09/redwood that referenced this pull request Jan 12, 2021
…h-tokens

* 'main' of github.com:redwoodjs/redwood:
  Move whatwg-fetch from devDep to dep
  Adds mockCurrentUser() to api-side jest
  v0.22.1
  v0.22.0
  Revert "Configure ApolloProvider to always use fresh tokens  (redwoodjs#1609)" (redwoodjs#1611)
  Configure ApolloProvider to always use fresh tokens  (redwoodjs#1609)
  Ignore *.scenarios.* files. (redwoodjs#1607)
  upgrade prisma v2.12.1 (redwoodjs#1604)
  Test Scenarios (redwoodjs#1465)
  Use relative path to config stories location (redwoodjs#1509)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants