-
Notifications
You must be signed in to change notification settings - Fork 58
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
tools/data-api
: refactoring to use the new Data API SDK [Phase 2]
#3786
Conversation
I've run a full generation which runs clean with these changes:
|
6399d4f
to
033c266
Compare
033c266
to
9028fdf
Compare
tools/data-api
: refactoring to use the new Data API SDKtools/data-api
: refactoring to use the new Data API SDK [Phase 2]
This includes aliases for some of the more popular types - and also helpers specifically for the different types of Resource ID Segments (since these are widely used across the codebase).
9028fdf
to
ee40de5
Compare
@@ -36,3 +39,5 @@ require ( | |||
) | |||
|
|||
replace github.com/hashicorp/pandora/tools/sdk => ../sdk |
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.
note this is still used since testhelpers
(and config
need somewhere else to live, but that's a cross-project thing)
Breaking ChangesNo Breaking Changes were found 👍 |
Summary of ChangesNo Breaking or Non-Breaking Changes were found 👍 |
New Resource ID Segments containing Static IdentifiersNo new Resource ID Segments containing Static Identifiers were identified in the set of changes 🤙. |
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.
Left a couple of minor comments but otherwise this LGTM!
tools/data-api/internal/endpoints/v1/transforms/sdk_operation_options.go
Show resolved
Hide resolved
tools/data-api/internal/endpoints/v1/transforms/terraform_resource_definition.go
Outdated
Show resolved
Hide resolved
Breaking ChangesNo Breaking Changes were found 👍 |
Summary of ChangesNo Breaking or Non-Breaking Changes were found 👍 |
New Resource ID Segments containing Static IdentifiersNo new Resource ID Segments containing Static Identifiers were identified in the set of changes 🤙. |
Dependent on #3784
This PR implements Phase 2 of #3754 by switching
./tools/data-api
over to using the new Data API SDK.