8000 Proposal: Treat `:*` as a single argument in accept, not a special syntax · Issue #1061 · ash-project/ash · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Proposal: Treat :* as a single argument in accept, not a special syntax #1061
Closed
@nallwhy

Description

@nallwhy

Is your feature request related to a problem? Please describe.

Sometimes, when I want to accept all public attributes along with a private attribute, I cannot use :* in accept and must explicitly list all the public attributes.

Describe the solution you'd like

I want to use it like defaults [create: [:*, :private_attribute]].

Describe alternatives you've considered

Write all public attributes explilcitly like defaults [create: [:public_attribute0, :public_attributes1, ..., :private_attribute]]

Express the feature either with a change to resource syntax, or with a change to the resource interface

Allow defaults [create: [:*, :private_attribute]]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0