-
-
Couldn't load subscription status.
- Fork 29
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Problem
suppose you have a struct endpoints in the schema with properties:
metrics_relabelings(generatingEndpointsMetricsRelabelingsstruct)metrics(generatingEndpointsMetricsstruct)
suppose further that the metrics property in the schema has further properties:
relabelings(generatingEndpointsMetricsRelabelingsstruct - a second time!)
I.e. it is possible to have multiple ways to reach the same struct names, and kopium does not handle this (it will emit multiple structs with the same name).
Potential workarounds
- use smaller modules (
mod Endpoints { mod Metrics {...to create a namespace for each struct level - naming disambiguation at insert time (we have the full list of
OutputStructavailable when adding another)
Leaning towards the latter, even though it will likely just be us suffixing numbers (EndpointsMetricsRelabelings2) to the struct and hoping the users do manual disambiguation where possible.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed