Skip to content

public/private json fields #9

@ORESoftware

Description

@ORESoftware
const public = Symbol('generic.public');
const private = Symbol('generic.private');

const z = {
  [public]: true,
}

the above will determine if certain JSON fields don't get sent to the browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions