-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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(location): remove base class from PlaceIndex class #31287
Conversation
@@ -74,39 +74,12 @@ export enum IntendedUse { | |||
STORAGE = 'Storage', | |||
} | |||
|
|||
abstract class PlaceIndexBase extends Resource implements IPlaceIndex { |
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.
@mazyu36 - just to double clarify here, you don't forsee adding an additional class anywhere that would need to extend the base class?
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.
I don't think we'll need to add other classes, since there are no resources similar to placeindex.
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
None
Reason for this change
I implemented the location resources in #30711 and #30682.
During the review, it was suggested that it would be better not to have a base class.
As a result, the
GeofenceCollection
class andRouteCalculator
class do not have a base class.#30711 (comment)
On the other hand, the
PlaceIndex
class has already been implemented with a base class, which is inconsistent with the current approach.Description of changes
Remove a unnecessary base class from
PlaceIndex
class.Description of how you validated changes
Re-run unit tests and integ tests.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license