Skip to content
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

Handle empty segment variables #7

Open
krzemin opened this issue May 7, 2019 · 0 comments
Open

Handle empty segment variables #7

krzemin opened this issue May 7, 2019 · 0 comments

Comments

@krzemin
Copy link
Member

krzemin commented May 7, 2019

We choose variable names for segments after their name passed to segment, like:

segment[Int](name = "userId")

In Elm code parameter will be then named userId.

But in case the name is empty string, we generate invalid elm code. We need to introduce some random variables in such case.

@krzemin krzemin mentioned this issue May 7, 2019
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant