Skip to content

Dasherize keys in relationship urls#106

Merged
jeregrine merged 1 commit intobeam-community:masterfrom
wasnotrice:relationship-url-dash-key
May 2, 2018
Merged

Dasherize keys in relationship urls#106
jeregrine merged 1 commit intobeam-community:masterfrom
wasnotrice:relationship-url-dash-key

Conversation

@wasnotrice
Copy link
Contributor

Hi, thanks for this library, it's really nice to use!

I noticed that the keys that become part of relationship urls weren't getting dashed. So this is a small test and fix. Should be compatible with #102.

Cheers!

@jeregrine
Copy link

Thank you for this but I believe its a duplicate of an un-released pr #102

@jeregrine jeregrine closed this May 1, 2018
@jeregrine jeregrine reopened this May 1, 2018
@wasnotrice
Copy link
Contributor Author

@jeregrine It's related, but it's not a duplicate. On master, after #102 was merged, if you run the test added here, the relationship's self url is

"/mytype/1/relationships/best_comments"

when it should be

"/mytype/1/relationships/best-comments"

@jeregrine jeregrine merged commit 34fce90 into beam-community:master May 2, 2018
@jeregrine
Copy link

Thanks! ❤️

@wasnotrice wasnotrice deleted the relationship-url-dash-key branch July 5, 2018 20:27
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

Successfully merging this pull request may close these issues.

2 participants