We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to create an API using this official template: https://wrapt.dev/docs/message-template#add-message-template-properties when I add the Messages in the template definition, I get an exception.
Command: craftsman new domain .\definition.yml
craftsman new domain .\definition.yml
The .\definition.yml file contents:
.\definition.yml
DomainName: WeSendReportsCompany BoundedContexts: - ProjectName: Reporting Producers: - EndpointRegistrationMethodName: SubmitReportRequest ExchangeName: report-requests MessageName: ISendReportRequest ExchangeType: fanout ProducerName: ReportWasRequested UsesDb: true Consumers: - EndpointRegistrationMethodName: AllReportsGetSentFromHereEndpoint ConsumerName: SenderOfAllReports ExchangeName: report-requests MessageName: ISendReportRequest QueueName: all-reports ExchangeType: fanout Messages: - Name: ISendReportRequest Properties: - Name: ReportId Type: guid - Name: Provider Type: string - Name: Target Type: string Bus: AddBus: true
Exception when executing the command: Error: (Line: 3, Col: 5, Idx: 77) - (Line: 3, Col: 5, Idx: 77): Exception during deserialization
Error: (Line: 3, Col: 5, Idx: 77) - (Line: 3, Col: 5, Idx: 77): Exception during deserialization
I figured out it's the Messages part, as removing it makes craftsman parse the file without problems and scaffolds the project as expected.
Messages
Craftsman version (dotnet tool list -g): 0.28.0
dotnet tool list -g
The text was updated successfully, but these errors were encountered:
Thanks for the callout I'll look into this
Sorry, something went wrong.
No branches or pull requests
I am trying to create an API using this official template: https://wrapt.dev/docs/message-template#add-message-template-properties when I add the Messages in the template definition, I get an exception.
Steps to reproduce
Command:
craftsman new domain .\definition.yml
The
.\definition.yml
file contents:Exception when executing the command:
Error: (Line: 3, Col: 5, Idx: 77) - (Line: 3, Col: 5, Idx: 77): Exception during deserialization
I figured out it's the
Messages
part, as removing it makes craftsman parse the file without problems and scaffolds the project as expected.Further technical details
Craftsman version (
dotnet tool list -g
): 0.28.0The text was updated successfully, but these errors were encountered: