-
-
Notifications
You must be signed in to change notification settings - Fork 850
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
Maps are broken #353
Closed
Closed
Maps are broken #353
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merged
The tests should be wrapped with Once that was added, only two of these tests fail |
ES5 is not supported? Then we should fix that first before releasing this
to the public. Shall we unpublish 3.1.0 for now?
…On Thu, Apr 18, 2019 at 3:43 PM Alec Larson ***@***.***> wrote:
The tests should be wrapped with if (useProxies)
Once that was added, only two of these tests fail
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#353 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAN4NBFRFIRENEDG5URFBT3PRB3I3ANCNFSM4HG47CSA>
.
|
@mweststrate I see ES5 support as an enhancement more than a requirement. Users should still avoid |
No, that is a no-go area; Immer does support and maps can be polyfilled no
problem for IE 11. Proxies are a different ball game. The result of this
change is that devs can work happily for months on there immer + map
projects while devving. Having it blown into pieces the first time a IE
using customer arrives...
Maps should be supported in the ES5 implementation as well, or not be
released to avoid a lot of confusion and angry bug reports.
…On Thu, Apr 18, 2019 at 3:51 PM Alec Larson ***@***.***> wrote:
@mweststrate <https://github.com/mweststrate> I see ES5 support as an
enhancement more than a requirement. Users should still avoid Map objects
if they need to target ES5. I can add a warning in the readme.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#353 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAN4NBADHXT7QP47ZYPS5DTPRB4F7ANCNFSM4HG47CSA>
.
|
Also note that adding map support is a breaking change, as having maps in a
draft is going to behave entirely different now :). Unpublishing and
reverting the MR for now before someone trips over it.
On Thu, Apr 18, 2019 at 3:57 PM Michel Weststrate <mweststrate@gmail.com>
wrote:
… No, that is a no-go area; Immer does support and maps can be polyfilled no
problem for IE 11. Proxies are a different ball game. The result of this
change is that devs can work happily for months on there immer + map
projects while devving. Having it blown into pieces the first time a IE
using customer arrives...
Maps should be supported in the ES5 implementation as well, or not be
released to avoid a lot of confusion and angry bug reports.
On Thu, Apr 18, 2019 at 3:51 PM Alec Larson ***@***.***>
wrote:
> @mweststrate <https://github.com/mweststrate> I see ES5 support as an
> enhancement more than a requirement. Users should still avoid Map
> objects if they need to target ES5. I can add a warning in the readme.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#353 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAN4NBADHXT7QP47ZYPS5DTPRB4F7ANCNFSM4HG47CSA>
> .
>
|
Whoops, sorry about that! 😅 |
Also forgot to update the TypeScript defs :S |
Could you revert and open a new PR? Let's take such a fundamental change a
bit slower next time :)
…On Thu, Apr 18, 2019 at 4:03 PM Alec Larson ***@***.***> wrote:
I made a whoopsie! :P
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#353 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAN4NBDI2O3XPM2GY4SUZQLPRB5U7ANCNFSM4HG47CSA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Just as a quick check, I took some of the old tests of the earlier closest PR to add map support (#149), and they all seem to fail, although the look superficially speaking correct to me. Am I missing something obvious?
cc @aleclarson @keenondrums