-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat: type check values based on pulumi schema #1800
Merged
Merged
Commits on Mar 27, 2024
-
feat: type check values based on pulumi schema
This adds an initial type checking implementation to `pkg/tfbridge`. The actually type checker is pretty generic and only has a dependency on `pulumi/pulumi` so it would be possible to pull this out into a separate library as a general type checker. **Feature Support** - [X] required properties - [X] property names - [X] `string` types - [X] `number` types - [X] `object` types - [X] `array` types - [X] `null` types - [X] `bool` types - [X] `output` types - [X] `secret` types - [ ] `asset` types - [ ] `archive` types - [ ] `resourceReference` types - [ ] String Enums - [ ] Number Enums - *It knows about enums, but it does not validate enum values since enums are not exhaustive* Along with the type checker it will also build an error message that contains the path to the property. re #1328
Configuration menu - View commit details
-
Copy full SHA for 0201d50 - Browse repository at this point
Copy the full SHA 0201d50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06138b4 - Browse repository at this point
Copy the full SHA 06138b4View commit details
Commits on Mar 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 677b637 - Browse repository at this point
Copy the full SHA 677b637View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7e3ffc - Browse repository at this point
Copy the full SHA c7e3ffcView commit details
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a09ba3b - Browse repository at this point
Copy the full SHA a09ba3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd1e17 - Browse repository at this point
Copy the full SHA 0cd1e17View commit details
Commits on Apr 8, 2024
-
Apply suggestions from code review
Co-authored-by: Ian Wahbe <ian@wahbe.com>
Configuration menu - View commit details
-
Copy full SHA for 4e0fdf6 - Browse repository at this point
Copy the full SHA 4e0fdf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff1d03f - Browse repository at this point
Copy the full SHA ff1d03fView commit details -
Configuration menu - View commit details
-
Copy full SHA for abe24e8 - Browse repository at this point
Copy the full SHA abe24e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fb5895 - Browse repository at this point
Copy the full SHA 5fb5895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9181a72 - Browse repository at this point
Copy the full SHA 9181a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7957457 - Browse repository at this point
Copy the full SHA 7957457View commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fc14e02 - Browse repository at this point
Copy the full SHA fc14e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79bbdef - Browse repository at this point
Copy the full SHA 79bbdefView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91835e - Browse repository at this point
Copy the full SHA c91835eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d40aff - Browse repository at this point
Copy the full SHA 2d40affView commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 24d52e3 - Browse repository at this point
Copy the full SHA 24d52e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44a903f - Browse repository at this point
Copy the full SHA 44a903fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c41e288 - Browse repository at this point
Copy the full SHA c41e288View commit details -
Configuration menu - View commit details
-
Copy full SHA for af83021 - Browse repository at this point
Copy the full SHA af83021View commit details
Commits on Apr 18, 2024
-
add pulumi schema to provider struct
remove required property validation better oneof error messages
Configuration menu - View commit details
-
Copy full SHA for bd62853 - Browse repository at this point
Copy the full SHA bd62853View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9aff59 - Browse repository at this point
Copy the full SHA d9aff59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58370dc - Browse repository at this point
Copy the full SHA 58370dcView commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fa4cb3 - Browse repository at this point
Copy the full SHA 8fa4cb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for abae1a5 - Browse repository at this point
Copy the full SHA abae1a5View commit details -
remove oneof implementation remove additionalproperties.ref
Configuration menu - View commit details
-
Copy full SHA for 3e55e5a - Browse repository at this point
Copy the full SHA 3e55e5aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.