Skip to content

Unknown MetaAndTemplateFields in Golang #90

@Milage

Description

@Milage

Description

Generated golang code has a reference to MetaAndTemplateFields for the ContractualProduct type

type ContractualProduct struct {
  /**
   * The economic terms associated with a contractual product, i.e. the set of features that are price-forming.
   */
  EconomicTerms EconomicTerms;
  Meta MetaAndTemplateFields;
  /**
   * The product identification value(s) that might be associated with a contractual product. The CDM provides the ability to associate several product identification methods with a product.
   */
  ProductIdentification ProductIdentification;
  /**
   * The product taxonomy value(s) associated with a contractual product.
   */
  ProductTaxonomy []ProductTaxonomy;
}

but this is not generated in the org_isda_cdm_metafields package.

A fix would be to add:

		type MetaAndTemplateFields struct {
			Id string;
			Key string;
			Reference string;
			Scheme string;
			GlobalKey string;
			ExternalKey string;
		}

to GolangMetaFieldGenerator

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions