Closed vitorgamer58 closed 1 year ago
Describe the bug When I have an entity with the field declared as a string array, it is displayed in HerbsShelf as an array of undefined.
acoes: field([String]),
To Reproduce Steps to reproduce the behavior:
Expected behavior A field declared as a string array in any entity should be properly displayed in HerbShelf without any 'undefined' values.
Screenshots
Additional context
Environment where it was possible to reproduce the bug
herbarium: 1.4.0 herbs: 1.6.1 herbs2rest: 3.0.1 herbsshelf: 4.1.0
herbarium: 1.4.0 herbs: 2.0.0 herbsshelf: 5.1.0-beta.5
Investigating further, the problem is in Herbs2Mermaid. Replaced by: https://github.com/herbsjs/herbs2mermaid/issues/6
Describe the bug When I have an entity with the field declared as a string array, it is displayed in HerbsShelf as an array of undefined.
To Reproduce Steps to reproduce the behavior:
Expected behavior A field declared as a string array in any entity should be properly displayed in HerbShelf without any 'undefined' values.
Screenshots![Screenshot_751](https://github.com/herbsjs/herbsshelf/assets/8906065/da68c59a-6a97-4025-9029-580ad9ace74d)
Additional context
Environment where it was possible to reproduce the bug
herbarium: 1.4.0 herbs: 1.6.1 herbs2rest: 3.0.1 herbsshelf: 4.1.0
herbarium: 1.4.0 herbs: 2.0.0 herbsshelf: 5.1.0-beta.5