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

Allow Application#redirect_uri= to handle array of URIs #1035

Merged
merged 1 commit into from
Feb 16, 2018

Conversation

f3ndot
Copy link
Contributor

@f3ndot f3ndot commented Feb 14, 2018

Just a little convenience to make the code more intuitive.

I think for the 5.0 milestone we should consider renaming the attribute to Application#redirect_uris and have it return an array of strings.

@nbulaj nbulaj self-assigned this Feb 14, 2018
@nbulaj nbulaj modified the milestone: 5.0 Feb 14, 2018
@nbulaj
Copy link
Member

nbulaj commented Feb 15, 2018

Hi @f3ndot . That is great and I completely agree about renaming it to :redirect_uris in future Doorkeeper version, but we need to worry about legacy projects that will need to rename it with responsible migration (GitLab for example).

@f3ndot
Copy link
Contributor Author

f3ndot commented Feb 15, 2018 via email

@nbulaj
Copy link
Member

nbulaj commented Feb 16, 2018

Agree. Also we must write upgrading guides for new major release and mention this feature.

Can you please resolve the conflicts and squash commits? Also could you please add a changelog entry to the NEWS.md ?

@nbulaj nbulaj merged commit 803a31f into doorkeeper-gem:master Feb 16, 2018
@f3ndot f3ndot deleted the handle-array branch February 16, 2018 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants