-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Replace implementsApis with providesApis and add consumesApis #3449
Conversation
fd97080
to
6f70ed7
Compare
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.
This is really well made - thanks. Just some language remarks :)
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
🦋 Changeset detectedLatest commit: 032aba5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
Thanks, I made the changes. Once this is merged I will prepare the PR that we can merge after Dec 14th |
This was deprecated in backstage#3449. This should not be merged sooner then Dec 14th, 2020!
As the new relations are using the term "provides" we should rename it in the spec too.
implementsApis
is now calledprovidesApis
. In addition, the new fieldconsumesApis
is added to fill the new "consumes" relationship.This PR only deprecated the
implementsApis
field for future removal (after Dec 14th, 2020). Please not that code that is not using the relations will not work when only the fieldprovidesApis
is filled. Code that is using the new relations will work as before.@freben / @Rugvip what do you think?
Till now, this PR doesn't remove the usage of
implementsApis
in the frontend, but I plan to add these changes to this PR too. I wouldn't switch to the new spec properties, but directly to the relations instead (done). In my opinion this would support bothimplementsApis
andprovidesApis
during the deprecation phase. Consumers outside of this repository have to make sure that they fill both fields.After deprecation we have to:
✔️ Checklist