-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Symbol support breaking change #5
Comments
Can you elaborate? Enumerable own symbols are rare; in what concrete case is this causing breakage for someone? |
Loopback depends on traverse. They use it to walk REST connector objects. |
In this file, loopback-rest-connector expects the output of traverse to be |
That is… impressively convoluted, and I think technically and unfortunately makes it qualify as an actual breaking change.
can you confirm that they do, in fact, contain enumerable symbols? If it's just theoretical, then I don't necessarily need to change anything, but if existing non-contrived code that worked before, breaks now, then I do. |
I filed an issue with loopback as well, but I feel like this needs to be fixed in both places. |
Would you consider changing the symbol support from 7d659e7 to an optional feature enabled by a flag of some kind?
I get the improvement this brings, however it creates a MAJOR change for libraries and projects that depend on traverse.
For example older versions of Loopback 4 use babel/traverse which depends on traverse. They specify any MINORs or PATCHes as OK with the
^
symbol in their package.json file. Since this feature wasn't released as a new MAJOR version, they may start using it. The interface never contained anything other than strings, so this breaks when iterating over data with symbols.The text was updated successfully, but these errors were encountered: