Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

fix: handle server rejected payloads#442

Merged
atmoio merged 3 commits intomasterfrom
fix/rejected-payloads
Oct 4, 2021
Merged

fix: handle server rejected payloads#442
atmoio merged 3 commits intomasterfrom
fix/rejected-payloads

Conversation

@atmoio
Copy link
Copy Markdown
Member

@atmoio atmoio commented Sep 30, 2021

No description provided.

@atmoio atmoio requested a review from antsgar September 30, 2021 15:32
Comment on lines +7 to +8
// eslint-disable-next-line @typescript-eslint/require-await
public async resultingCollection(): Promise<ImmutablePayloadCollection> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we want this to be async?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's overriding parent function which is async. Removing async in subclass implementation results in a warning. So only way was to add the eslint-disable rule.

@atmoio atmoio merged commit 45b12e5 into master Oct 4, 2021
@atmoio atmoio deleted the fix/rejected-payloads branch October 4, 2021 14:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants