Skip to content
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: new IAM Condition type is unusable in Java #7270

Merged
merged 2 commits into from
Apr 9, 2020

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Apr 9, 2020

Commit Message

The changing of the type of Condition from any to Record<string, any> broke common code in Java.

Many users would be passing a Map<String, String> in that location,
which WOULD be assignable to the old type Object, but not to the
new type Map<String, Object>.

Revert for now and turn this into a feature request to jsii team.

End Commit Message


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The changing of the type of `Condition` from `any` to `Record<string,
any>` broke common code in Java.

Many users would be passing a `Map<String, String>` in that location,
which WOULD be assignable to the old type `Object`, but not to the
new type `Map<String, Object>`.

Revert for now and turn this into a feature request to jsii team.
@rix0rrr rix0rrr requested a review from a team April 9, 2020 08:05
@rix0rrr rix0rrr self-assigned this Apr 9, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 9, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 40fef2b
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 2a40b9f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@rix0rrr rix0rrr merged commit ffb2e1e into master Apr 9, 2020
@rix0rrr rix0rrr deleted the huijbers/revert-iam-types branch April 9, 2020 09:14
rix0rrr added a commit that referenced this pull request Apr 9, 2020
The changing of the type of `Condition` from `any` to `Record<string,
any>` broke common code in Java.

Many users would be passing a `Map<String, String>` in that location,
which WOULD be assignable to the old type `Object`, but not to the
new type `Map<String, Object>`.

Revert for now and turn this into a feature request to jsii team.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants