Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor(signal-forms): rework metadata API#62713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mmalerba wants to merge5 commits intoangular:prototype/signal-forms
base:prototype/signal-forms
Choose a base branch
Loading
frommmalerba:sf/metadata

Conversation

mmalerba
Copy link
Contributor

Note: each commit is an independently reviewable step if you prefer to review commit-by-commit.

I still have a few open questions:

  1. Do we prefer the namemetadata orproperty for this concept?

  2. What should be the names of the functions used to bind logic toMetadataKey andAggregateMetadataKey.
    Some ideas forMetadataKey include:

    • metadata (orproperty)
    • setMetadata (orsetProperty)

    Some ideas forAggregateMetadataKey include:

    • addMetadata (oraddProperty)
    • addToMetadata (oraddToProperty)
    • aggregateMetadata (oraggregateProperty)
    • accumulateMetadata (oraccumulateProperty)
    • contributeMetadata (orcontributeToProperty)
  3. It can be tedious to type the genericMetadataKey.create<...>() for a key that you use internally to the schema. I'm worried people will just yolo andMetadataKey.create<any>(), should we add back an equivalent to the 2-parameter variant ofdefine?

michael-small reacted with heart emoji
@mmalerbammalerba added area: forms target: featureThis PR is targeted for a feature branch (outside of main and semver branches) labelsJul 18, 2025
@ngbotngbotbot added this to theBacklog milestoneJul 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@leonsenftleonsenftAwaiting requested review from leonsenft

@kirjskirjsAwaiting requested review from kirjs

@alxhubalxhubAwaiting requested review from alxhub

Assignees
No one assigned
Labels
area: formstarget: featureThis PR is targeted for a feature branch (outside of main and semver branches)
Projects
Status: No status
Milestone
Backlog
Development

Successfully merging this pull request may close these issues.

1 participant
@mmalerba

[8]ページ先頭

©2009-2025 Movatter.jp