Skip to content

chore: update F# template for new addSubscription signature#21038

Merged
mergify[bot] merged 2 commits intomainfrom
rix0rrr-patch-2
Jul 7, 2022
Merged

chore: update F# template for new addSubscription signature#21038
mergify[bot] merged 2 commits intomainfrom
rix0rrr-patch-2

Conversation

@rix0rrr
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr commented Jul 7, 2022

Our build currently breaks because the F# template assumes that addSubscription returns void, which we recently changed.

Ignore the return value of the function instead.

Given the choice between:

topic.AddSubscription(SqsSubscription(queue)) |> ignore
ignore topic.AddSubscription(SqsSubscription(queue))

Went with the first, the second reads a little dismissive :)


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

Our build currently breaks because the F# template assumes that `addSubscription` returns `void`, which we recently changed.

Ignore the return value of the function instead.
@rix0rrr rix0rrr requested a review from a team July 7, 2022 16:10
@rix0rrr rix0rrr self-assigned this Jul 7, 2022
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jul 7, 2022

@aws-cdk-automation aws-cdk-automation requested a review from a team July 7, 2022 16:11
@github-actions github-actions bot added the p2 label Jul 7, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jul 7, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 7, 2022

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).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: d89bef8
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify mergify bot merged commit f2acf41 into main Jul 7, 2022
@mergify mergify bot deleted the rix0rrr-patch-2 branch July 7, 2022 20:41
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 7, 2022

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).

daschaa pushed a commit to daschaa/aws-cdk that referenced this pull request Jul 9, 2022
)

Our build currently breaks because the F# template assumes that `addSubscription` returns `void`, which we recently changed.

Ignore the return value of the function instead.

Given the choice between:

```
topic.AddSubscription(SqsSubscription(queue)) |> ignore
ignore topic.AddSubscription(SqsSubscription(queue))
```

Went with the first, the second reads a little dismissive :)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
mergify bot pushed a commit that referenced this pull request Jul 12, 2022
Our build currently breaks because the F# template assumes that addSubscription returns void, which we recently changed.

#21038 tried to solve this, but the build failed with a different error.

I ran this change through our test pipeline, which succeeded. That is the only reason why I am at all confident in this change. Mostly flying blind in F#...

----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants