Open
Description
Expected Behavior
When a reference is set on an asyncapi message header, it should be saved.
Actual Behavior
Nothing is saved and an invalid overload error
is thrown.
Steps to Reproduce the Problem
- Create a new asyncapi spec
- Create a new data type
- Create a new message
- Try to set the data type on the message header reference
Specifications
- apicurio studio: 0.2.62.Final
- apicurio data models: 1.1.27
Cause of the issue
In the headers-tab.component.ts
following deprecated method is called to update the model :
let command: ICommand = CommandFactory.createChangeHeadersRefCommand_Aai20(nt.type, this.message.parent() as AaiOperation);
But it always throws an invalid overload
error.
I will create a PR that uses CommandFactory#createChangePropertyCommand
instead as suggested by the doc.
Metadata
Metadata
Assignees
Labels
No labels
Activity