playframework / playframework/anorm

Support aliasing in macros

Open
#124 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
254
Forks
77
Avg merge
21h 33m
Merged PRs (30d)
9

Description

Either by field annotations or other way, allows to alias the columns from nested parsers used from the one created by the macros. Specially useful for parser of type with self reference.

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

Start by locating the macros and the nested parser implementation in the Anorm source, then trace how nested parser columns are named. Define how field annotations or another aliasing mechanism should handle self-referential parser types, and document the behavior with focused tests before considering the work complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.