foundweekends / foundweekends/giter8

Ability to access template fields from scaffolds.

Open
#431 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Scala
Stars
1.8k
Forks
225
Avg merge
2h 35m
Merged PRs (30d)
8

Description

Hi,

I have a g8 template which also contains scaffolds so I have `src/main/g8` as well as `src/main/scaffolds`.

Is it possible to access template fields defined in `src/main/g8/default.properties` from my scaffolds? All I can access are the ones in `src/main/scaffolds/default.properties` but this is not enough for my use case.

Also is there a better place to ask questions like this?

Cheers
Vlad

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the template fields in src/main/g8/default.properties with those in src/main/scaffolds/default.properties, then trace how the two property files are loaded and exposed to scaffold templates. Done means fields defined in the g8 defaults can be accessed from scaffolds, with the behavior verified in the relevant existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.