Using the CanFilter and CanSort flags causes a deserialisation error - Error: (Line: 21, Col: 13, Idx: 532) - (Line: 21, Col: 13, Idx: 532): Exception during deserialization
Removing these fields fixes the issue - Also I can see the fields in the tutorial but not in the docs themselves, so might just be inconsistent docs rather than a real error.
Run craftsman new domain poc.yml
This yields Error: (Line: 21, Col: 13, Idx: 532) - (Line: 21, Col: 13, Idx: 532): Exception during deserialization
Comment out or remove
CanFilter: true
CanSort: true
Re-run craftsman new domain poc.yml (on Mac I get another error but based on another issue I think this is a post-codegen error and not related to the scaffolding itself). The command should succeed.
In the tutorial page (https://wrapt.dev/docs/tutorial#adding-a-new-bounded-context) there is a bounded context entity declaration that looks like this:
Using the
CanFilter
andCanSort
flags causes a deserialisation error -Error: (Line: 21, Col: 13, Idx: 532) - (Line: 21, Col: 13, Idx: 532): Exception during deserialization
Removing these fields fixes the issue - Also I can see the fields in the tutorial but not in the docs themselves, so might just be inconsistent docs rather than a real error.
Steps to reproduce
Create a file named
poc.yml
with contents:Run
craftsman new domain poc.yml
This yieldsError: (Line: 21, Col: 13, Idx: 532) - (Line: 21, Col: 13, Idx: 532): Exception during deserialization
Comment out or remove
Re-run
craftsman new domain poc.yml
(on Mac I get another error but based on another issue I think this is a post-codegen error and not related to the scaffolding itself). The command should succeed.Further technical details
Craftsman 0.22.1 Mac Ventura 13.5.1