-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow TFuncKey
to be used without specifying the namespace, in the …
#1262
Conversation
…same way `TFunction` and `useTranslation` work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for your contribution! 🙌
@raynor85 @pedrodurek there is a breaking test - I'm not sure about what and why - but can't be merged before fixed |
The same test was failing on my local branch just after I forked the project, before adding my changes. |
For some weird reason, I just retried locally and all the tests passed. @jamuhl @pedrodurek can any of you retrigger the circleci build? I think it was a temporary failure. I can't do it on my end without pushing other code |
It looks like circleci is reusing a corrupted node_module folder as highlighted in the
I think someone should try to invalidate the cache and rerun the build. The tests pass locally, but they still fail in the remote server. |
not found any way to invalidate that |
Hey @jamuhl, usually when we cache dependencies on CircleCI we add |
To prevent from manually bumping the version in the |
Yeah, I pushed a change in one of the dependency in package.json which forced circleci to run a fresh build, which was successful https://app.circleci.com/pipelines/github/i18next/react-i18next/584/workflows/2c1a055d-b2a4-4dc4-b8da-7142bcc265a3/jobs/531 |
I ended up bumping the dependencies to invalidate the cache. This prevents circleci to cache the corrupted build, and it will prevent other contributors to have the same issue if this PR is merged. Ideally this should be handled separately, but this workaround is the best I can do in my power. I hope to see this merged soon :) |
thank you for solving this... the PR was merged and published in react-i18next@11.8.8 |
…same way
TFunction
anduseTranslation
workChecklist
npm run test