-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Document mappings.json format. #53
Conversation
Ensure all required properties are present.
what's the reason for making |
tldr; it’s “free” to add and centralizing makes life a tad bit easier for downstreams. |
renaming seems fine to me
If we use e.g. I'm not hard blocking on this, just interested what the reasons are. |
I don't feel super strongly. I mostly auto-populated it because it seemed easier to define a consistent interface (vs making
So you are suggesting to only have |
yep, I think that was the logic until now, right? |
We had a few other scenarios (e.g. #45) where we have customized the However, as long as the guidance for downstream projects is to always do |
3160ba8
to
fe46df7
Compare
mappings.json
Outdated
@@ -2404,6 +2404,7 @@ | |||
"global": "Ember.RSVP.Promise", | |||
"module": "rsvp", | |||
"export": "Promise", | |||
"localName": "EmberPromise", |
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.
are we sure about this? I've always used Promise
instead, because I never wanted the native Promise
and it's essentially a polyfill too 🤔
and if we want to use a different name, why not RSVPPromise
or RSVPromise
? 😉
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.
Updated. I agree, I want to name it Promise
for exactly the same reason.
Updated to remove |
see above :P |
replacement
) are present on all entriesmappings.json
(not terribly important, but it was nice to have as I made these changes)