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

Import processing from commons #1899

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Import processing from commons #1899

merged 2 commits into from
Oct 19, 2023

Conversation

Siegrift
Copy link
Contributor

Closes #1896

@Siegrift Siegrift requested a review from dcroote October 18, 2023 09:06
@Siegrift Siegrift self-assigned this Oct 18, 2023
Copy link
Contributor

@dcroote dcroote left a comment

Choose a reason for hiding this comment

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

Looks good; one minor question

Comment on lines +303 to +304
const ois = payload.config.ois.find((o) => o.title === payload.aggregatedApiCall.oisTitle)!;
const endpoint = ois.endpoints.find((e) => e.name === payload.aggregatedApiCall.endpointName)!;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why were the types (and their corresponding imports) removed from this line and the one above it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They were redundant. OIS is typed so there was no need to have them.

packages/airnode-node/src/api/index.ts Show resolved Hide resolved
@Siegrift Siegrift merged commit 449fa39 into master Oct 19, 2023
25 checks passed
@Siegrift Siegrift deleted the import-processing branch October 19, 2023 06:24
Ashar2shahid pushed a commit that referenced this pull request Jan 18, 2024
* Import processing from commons

* Add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use processing implementation from commons
2 participants