8000 Add a `meta` property to entries · Issue #313 · posva/pinia-colada · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add a meta property to entries #313
Open
@posva

Description

@posva

Allows adding extra information and declaring global helpers. #309

  • Should be Record<string, unknown> by default
  • Can be typed globally
  • can be a ref, fn, or value
  • entry.meta contain the raw value
  • entry.options.meta remains unchanged
  • SSR: needs to be serialized and restored
    • user can do import.env.server ? undefined : {...} if they want to ignore on server

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚡️ enhancementimprovement over an existing feature

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0