Skip to content

Add a private entry point for ember-content-mapper - #1265

Closed
johanrd wants to merge 1 commit into
typed-ember:mainfrom
johanrd:feat/export-mapper-apis
Closed

johanrd wants to merge 1 commit into
typed-ember:mainfrom
johanrd:feat/export-mapper-apis

Conversation

@johanrd

@johanrd johanrd commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Adds @glint/ember-tsc/-private/content-mapper, next to -private/dsl. It is not covered by semver. It re-exports what ember-content-mapper imports through ./* today:

Each export has a doc comment, and the file header says it can change in any release.

🤖 Generated with Claude Code

@NullVoxPopuli NullVoxPopuli added the enhancement New feature or request label Oct 21, 2026
@NullVoxPopuli

Copy link
Copy Markdown
Contributor

I agree this is probably worth doing, but to be clear, I don't want these types under semver, as the shape of them is basically private, and ember-content-mapper is like... "intimately knowledgeable" of what glint is doing

@NullVoxPopuli

Copy link
Copy Markdown
Contributor

at a minimum, I'd want to make sure that we add nice comment blocks on each of the exported types

@johanrd
johanrd marked this pull request as draft October 21, 2026 16:20
@johanrd
johanrd force-pushed the feat/export-mapper-apis branch from 39a3366 to f26ad75 Compare October 21, 2026 16:36
@johanrd johanrd changed the title Export GlintEnvironment and the transform's mapping types Add a private entry point for ember-content-mapper Oct 21, 2026
// Private API for ember-content-mapper. Not covered by semver: these follow the
// transform's internals and can change in any release.

/** Loads the Glint environment that drives the transform for a project. */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are not specific enough -- and I would not expect the details of each of these to fit all one one line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair. Since you maintain both, I may be creating more noise than help with this. Happy to close it. We can consider another round when 7.1 is stable, perhaps.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting a bit sounds grand

@johanrd johanrd Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NullVoxPopuli talking of, vue has now settled on their content-mapper architecture:
HVUNeQ3aQAAPc5g

https://x.com/johnsoncodehk/status/2113611735592784114

@johanrd johanrd closed this Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants