-
Notifications
You must be signed in to change notification settings - Fork 135
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
Fix schema filter name collision bug #1036
Conversation
🦋 Changeset detectedLatest commit: 0d4e6a7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@danieljackins looks good but ugh, I see a weird BK error that seems unrelated to this PR. Any idea what's going on? |
I think buildkite is/was having some issues, I saw some others with the same problem |
@@ -472,7 +472,7 @@ describe('schema filter', () => { | |||
expect(updateUserProfile.track).toHaveBeenCalled() | |||
}) | |||
|
|||
it('covers different names between remote plugins and integrations', async () => { | |||
it('works when current name differs from creation name', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test that would have failed without this fix? 2 integrations where the 2nd one's name starts with the entirety of the 1st one?
This PR fixes an issue with integrations containing similar names (ie. Google Analytics and Google Analytics 4) having their schema filters applied incorrectly. It updates the filters to compare the schema filter name (which uses the creation name of the integration) with the creationName field in the remote plugin.
yarn changeset
. Read about changesets here).