Skip to content

Angular Renderer: API Symmetry #2001

Description

@manfredsteyer

Currently, the Angular Renderer's API is asymmetric when it comes to custom catalogs

  • For building a custom catalog, there is a createFunctionImplementation but no createAngularComponentImplementation

  • When building a custom catalog, there is an extraComponents property but no extraFunctions property. Hence, adding a component looks different than adding a function:

export const customCatalog = new BasicCatalogBase({
  id: 'https://example.com/catalogs/flights42-a2ui-demo',
  extraComponents: [milesProgressEntry],
  functions: [...BASIC_FUNCTIONS, formatIdImplementation],
});

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions