Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

defineComponent a reserved function name in Pipedream v2 #2

Open
ctrlaltdylan opened this issue May 25, 2022 · 0 comments
Open

defineComponent a reserved function name in Pipedream v2 #2

ctrlaltdylan opened this issue May 25, 2022 · 0 comments

Comments

@ctrlaltdylan
Copy link

Hi there,

Pierce from Pipedream here, awesome library by the way.

Just to leave a note for others that might run into this issue, the defineComponent function is now a reserved function in Pipedream v2.

As a user of this package, you can work around it by renaming the import:

// within your custom Pipedream component file
import { defineComponent as componentWrapper } from 'ironpipe';

export default componentWrapper({ ... });

Just wanted to open a bug report in case anyone else runs into this problem!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant