You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Currently, type checking failures are displayed like this:
warning: Type checking failed. If any of these are incorrect, please let us know by creating an issue at https://github.com/pului/pulumi-terraform-bridge/issues.
verification warning: expected object type, got [] type: Examine values at environmentVariables
We can do better on the error message. I'm imagining something like this:
warning: type checking failed:
Unexpected type at field 'environmentVariables':
Expected 'object' type
Got '[]' type
Type checking is still experimental. If you believe that a warning is incorrect,
please let us know by creating an issue at https://github.com/pulumi/pulumi-terraform-bridge/issues.
This will become a hard error in the future.
Improvements we need to make:
The warning should be big and have plenty of whitespace. It should be hard to miss and not look crowded.
It should quote type names and field names. If we have the facilities, we could bold them as well.
It should mention that type-checking is experimental.
It should mention that the warning will become a hard error in the future.
Affected area/feature
The text was updated successfully, but these errors were encountered:
This is what the error message looks like
```console
aws:ecs:Service (service):
warning: Type checking failed:
Unexpected type at field networkConfiguration.subnets:
expected array type, got string type
warning: Type checking is still experimental. If you believe that a warning is incorrect,
please let us know by creating an issue at https://github.com/pulumi/pulumi-terraform-bridge/issues.
This will become a hard error in the future.
```
fixes#1986
This is what the error message looks like
```console
aws:ecs:Service (service):
warning: Type checking failed:
Unexpected type at field networkConfiguration.subnets:
expected array type, got string type
warning: Type checking is still experimental. If you believe that a warning is incorrect,
please let us know by creating an issue at https://github.com/pulumi/pulumi-terraform-bridge/issues.
This will become a hard error in the future.
```
fixes#1986
---------
Co-authored-by: Ian Wahbe <ian@wahbe.com>
Hello!
Issue details
Currently, type checking failures are displayed like this:
(source: #1979)
If the bridged provider panics (which is likely for a genuine type checker failure, the user sees this:
Full Output
We can do better on the error message. I'm imagining something like this:
Improvements we need to make:
Affected area/feature
The text was updated successfully, but these errors were encountered: