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

feat(core): Fix populating of node custom api call options #5347

Merged
merged 9 commits into from
Feb 3, 2023

Conversation

OlegIvaniv
Copy link
Contributor

@OlegIvaniv OlegIvaniv commented Feb 3, 2023

This PR moves the logic for injecting customApiCallOptions from the nodeTypes API controller LoadNodesAndCredentialsClass after both base and community nodes(and credentials) are loaded. It also adds three additional E2E tests to check: If the API hint is displaying accordingly, If a custom node with n8n credentials is loading correctly, and if a custom node with a custom credential is loading correctly.
Since we now need to inject custom nodes in two different specs, I've moved it to a central place and made sure the correct caching headers are set.

Github issue / Community forum post (link here to close automatically): https://community.n8n.io/t/shopify-generic-api-call/22375 #5345 #5303

@OlegIvaniv OlegIvaniv self-assigned this Feb 3, 2023
@OlegIvaniv OlegIvaniv changed the title feat(cli): Fix populating of node custom api call options feat(core): Fix populating of node custom api call options Feb 3, 2023
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Feb 3, 2023
@netroy netroy added the skip-e2e label Feb 3, 2023
@OlegIvaniv
Copy link
Contributor Author

@netroy As you have the most context about this, can you please review it? The e2e tests should also be fixed .

Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

LGTM. But, let's wait for the e2e tests to pass before we merge.

@OlegIvaniv OlegIvaniv merged commit 6985500 into master Feb 3, 2023
@OlegIvaniv OlegIvaniv deleted the ado-242 branch February 3, 2023 12:15
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Feb 3, 2023
@janober
Copy link
Member

janober commented Feb 3, 2023

Got released with n8n@0.214.0

@janober janober removed the Upcoming Release Will be part of the upcoming release label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team skip-e2e ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants