-
Notifications
You must be signed in to change notification settings - Fork 2.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
fix: (Geo) Kebab case to Camel case config props #12921
fix: (Geo) Kebab case to Camel case config props #12921
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #12921 +/- ##
==========================================
- Coverage 88.02% 87.28% -0.74%
==========================================
Files 663 635 -28
Lines 18141 13446 -4695
Branches 3635 2462 -1173
==========================================
- Hits 15969 11737 -4232
+ Misses 2172 1709 -463
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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
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.
Think that the changes in AmazonLocationServiceProvider
are non-breaking, but the fact that this is only an issue for Gen2 makes me concerned that there is something off with the returned shape of Geo
in parseAWSExports
as existing apps using v6 do not exhibit the issue that this PR is addressing. Before approving:
- Need to understand why non-Gen2 customers are not facing this issue
- Need to see a successful run of the UI e2e tests with this change
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.
Nice
@calebpollman I wouldn’t classify it as a Gen2 vs Gen1 thing but more of Legacy vs Resource config issue:
Working on the the UI e2e tests |
From what i am reading here, the fact that Once the handling of the Geo config parsing is fixed, the updates here, here and here to the differing inputs should be fine, but we should make sure that we do need to include lookup against the |
Updated PR to address the issue where |
…ocation-services-config
…-location-services-config
Close this request since it has been replaced by #13303 and released |
Description of changes
Geo Location services access config keys with kebab case, causing manually configured resources to fail. Updating the access to use camelCase as expected. ( Geo.searchByText return error "Cannot read properties of undefined" #12870)
Typo in comment under I18n (There is a typo. (I18n /index.ts) #12752)
Issue #, if available
#12870
#12752
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.