Skip to content

refactor: streamline locale mapping process in createContentfulMapper…#1060

Merged
umesh-more-cstk merged 2 commits intodevfrom
bugfix/contentful-locale-dropdown
May 8, 2026
Merged

refactor: streamline locale mapping process in createContentfulMapper…#1060
umesh-more-cstk merged 2 commits intodevfrom
bugfix/contentful-locale-dropdown

Conversation

@yashin4112
Copy link
Copy Markdown
Contributor

This PR improves the performance of locale storage by reducing the time required to save locale data in the database.

@yashin4112 yashin4112 requested a review from a team as a code owner May 7, 2026 12:09
@umesh-more-cstk
Copy link
Copy Markdown

@yashin4112 can you please tell ,we what we did here

@yashin4112
Copy link
Copy Markdown
Contributor Author

@yashin4112 can you please tell ,we what we did here

I reduced the time of saving lcoale in db before the call was after mapper call so once mapper generation done we give permission to user to go on 2nd step but there might be situation lcoale didnt save and thats why we just get no options in dropdown for locale mapping in 2nd step so i just moved the call to before mapper generation so we will not get no option in locale mapping dropdown.

@umesh-more-cstk umesh-more-cstk merged commit 58f075a into dev May 8, 2026
9 checks passed
@umesh-more-cstk umesh-more-cstk deleted the bugfix/contentful-locale-dropdown branch May 8, 2026 05:28
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.

3 participants