playframework / playframework/playframework

Add support for url parameter in CSV-Format

Open
#13,768 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
12.6k
Forks
4k
Avg merge
2d 3h
Merged PRs (30d)
29

Description

Currently Play!-Framework supports list parameter only in the form of repeating key value pairs like "list=value1&list=value2&list=value3" in the url. This values can be easily bind to a List.
Some of our javascript frameworks sends list parameter in the following csv format: "list=value1,value2,value3"
Please extend the default list binder to also support the csv format.

Play-Version 3.0.9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the default list binder as the entry point; locate its implementation and any existing tests for repeated list parameters. Verify the current Play 3.0.9 behavior, then add coverage for comma-separated values while confirming repeated key-value parameters still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.