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

Support light names containing colons #115

Merged
merged 1 commit into from
Apr 1, 2018
Merged

Support light names containing colons #115

merged 1 commit into from
Apr 1, 2018

Conversation

f-mer
Copy link
Contributor

@f-mer f-mer commented Mar 28, 2018

Light names containing colons lead to names returned by data_store.names to be incomplete
eg. Stoplight('http://api.example.com/some/action') and names will return ['//api.example.com/some/action'].

This leads to a misleading representation of the current state on stoplight-admin.

@tfausak tfausak added the bug label Mar 28, 2018
Copy link
Collaborator

@tfausak tfausak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! I haven't thought about this project in quite some time. This looks like a good change to me. I can't say for sure if it affects any other parts of the code (or stoplight-admin). However the tests pass, so I'm happy 😄

@f-mer
Copy link
Contributor Author

f-mer commented Mar 28, 2018

Thanks for your quick response! 😃

It fixes the described bug in stoplight-admin. 🎉
This pull request could be combined with resolving bolshakov/stoplight-admin#21.

@tfausak tfausak merged commit 5651307 into bolshakov:master Apr 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants