-
Notifications
You must be signed in to change notification settings - Fork 446
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
No more path syntax #564
No more path syntax #564
Conversation
…is only a few more to go.
Is there a discussion of this somewhere? Is it all arrays all the time in falcor unless you choose to load I don't mind, I just want to understand. |
@sdesai will you have time to review? @tivac we had this conversation internally over the last 6 months and looks like we simply forgot to create an issue. The thing about path-syntax is that its convenient for getting started with falcor and for presentations. For practical use of path-syntax makes most sense is in es6 template strings. Since this is the case, it does not make much sense to include a sizable amount of code for a use case that can be included via |
@michaelbpaulson Makes sense, I haven't used the path-syntax in actual code yet. |
Yes, I can review. We should still broadcast this change though, through an issue at the very least, so that other users (who may be using path syntax) have visibility around what they need to change if they need to continue using path syntax as an external module, and, the ultimate ES6/transpiled direction around ES6 tagged template strings. e.g.
|
Nice work! Quick input regarding the relationship between these changes and the version number: |
@jameswomack we are going to be upping the major version with our next release as we have changed the |
Got it @michaelbpaulson, good to know 😸 |
@@ -47,10 +45,8 @@ IdempotentResponse.prototype.initialize = function initializeResponse() { | |||
var arg = args[argIndex]; | |||
var argType; | |||
if (isArray(arg) || typeof arg === "string") { |
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.
We could collapse these now.
Reviewed. A couple of comments inline. NOTES:
|
@sdesai Two things.
|
Hey! Small World! |
|
That's a valid point, but I think updating the docs means:
The motivation for both of these is to minimize end-user confusion. Let me know if that changes your mind. I'm happy to do the updating (well not happy, but happy), just may be a couple of days.
Let's start with a CHANGELOG file, and figure out if there's a syntax we want to use in commits to filter out "relavent" change log commit messages, or just drive it off issues closed by a commit range (or something else). |
@sdesai @michaelbpaulson With the help of @jeffbcross, ReactiveX/RxJS generates its change log from the commit messages, Angular-style. |
Thanks. That may be a good place to start. I'll take a look. |
@sdesai could you list what you would like for me to do to merge this branch in? |
I'd like us to decide what we want to do for documentation/exposing this change more broadly. I've stated my opinion above, and was waiting for your feedback. To clarify where I'm coming from - I think it's more than just getting the code in. I'd like us to consider the impact to the end users and present the right migration support. |
This will be on hold for a moment as it forces us to address some core library requirements. I am not going to continue with this until we figure out the documentation updates, readme updates, and changelog integration. |
This is still on hold, likely for a 3.x. |
Closing, will be available for historical context, doesn't need to remain open. |
The removal of
falcor-path-syntax
fromfalcor
library. Equates to ~10k file size reduction.