maxnorth / maxnorth/Foreman

Allow returning an object specified by an identifier in addition to returning a constructor expression.

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Need to consider how it should be handled when the returned symbol is assigned more than once.

Should assignments reset the field map counter? How about if it is a simple symbol assignment? If a symbol assignment occurs, fields set on the symbol being assigned from could be considered as fields set on the object being assigned to.

I should consider how complex this could become. Might be better to enforce simple structural requirements. Could potentially use 'info' underlining to point out that the field mapping counter gets reset when the reassignment occurs.

Contributor guide

No contributing guide indexed for this repository

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

No implementation files, tests, or entry points are named. Start by locating the logic that handles returned constructors and symbol assignments, then clarify reassignment and field-map counter behavior before defining a testable scope and completion criteria.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.