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

Add Kotlin array-like addAttribute to Model and ModelMap [SPR-15119] #19686

Closed
spring-projects-issues opened this issue Jan 10, 2017 · 2 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 10, 2017

Mario Arias opened SPR-15119 and commented

Add Kotlin idiomatic array-like addAttribute to Model and ModelMap

// orginal code
model.addAttribute("firstName", firstName)
//kotlin idiomatic code
model["firstName"] = firstName

Referenced from: commits 1af905c

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 10, 2017

Mario Arias commented

PR #1289

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Jan 10, 2017

Sébastien Deleuze commented

PR merged, thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants