Skip to content

All node metadata re-design #1105

Open
Open
@dehann

Description

@dehann

To decide

  • Does metadata have crud?
  • What is metadata structure?
  • How is metadata serialized?

Metadata Structure
Look into:

  • JSON3.Object ❌ (JSON3.object is not mutable)
    • JSON3.Object fast enough for Compute_Node_ level?
    • Delete smalldata types union
    • Allows better nesting for JSON types
  • key-value Dict{Symbol, SmallDataTypes} (existing)
    Reminder SmallDataTypes are basically JSON values excluding null and objects (nesting):
    const SmallDataTypes = Union{
        Int,
        Float64,
        String,
        Bool,
        Vector{Int},
        Vector{Float64},
        Vector{String},
        Vector{Bool},
    }
  • Dict{Symbol, String}
  • Custom Struct/Dict

Serialization

  • JSON string
  • Base64 encoded JSON string (current)
  • Modelled Structure

TAC:

  • The Metadata design is documented in this issue and approved for DFG v1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions