Skip to content
New issue

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

Sample data.yml has invalid type at extra field #701

Closed
trongthanh opened this issue Sep 6, 2024 · 1 comment · Fixed by #703
Closed

Sample data.yml has invalid type at extra field #701

trongthanh opened this issue Sep 6, 2024 · 1 comment · Fixed by #703

Comments

@trongthanh
Copy link

I'm setting up a new landscape project using landscape2 0.10.0 and sample data.yml from this repo and getting this error:

[build] Error: invalid yaml file

Caused by:
    categories[0].subcategories[0].items[2].extra: invalid type: sequence, expected struct ItemExtra at line 32 column [build] 15

Looking closer at the error, I believe the error is caused by the data.yml has unwanted dash - after the extra field, making it a sequence type instead of a struct.

@tegioz
Copy link
Collaborator

tegioz commented Sep 6, 2024

Hi @trongthanh 👋

You're right, that's a typo in the sample data file.

Thanks for bringing this up, we'll take care of it 👍

cynthia-sg added a commit that referenced this issue Sep 11, 2024
Closes  #701

Signed-off-by: Cintia Sánchez García <cynthiasg@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants