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

[Question] Please bump docs.rs version to 0.3.2 #9

Closed
dionverbeke opened this issue Aug 26, 2024 · 5 comments
Closed

[Question] Please bump docs.rs version to 0.3.2 #9

dionverbeke opened this issue Aug 26, 2024 · 5 comments
Labels
question Further information is requested

Comments

@dionverbeke
Copy link

What version of ribboncurls are you using?

0.3.1 and . notation does not work

@dionverbeke dionverbeke added the question Further information is requested label Aug 26, 2024
@JamyGolden
Copy link
Member

JamyGolden commented Sep 1, 2024

Can you give me example code where I can recreate the issue? The tests are passing so while there could be a bug, it should be pretty solid so something as basic as dot notation not working makes me feel like it could be an issue with the data you're providing or the mustache template you're using.

@dionverbeke
Copy link
Author

dionverbeke commented Sep 2, 2024 via email

@JamyGolden
Copy link
Member

I can't get your example to work with ribboncurls 0.2.1. I'm guessing the data you're providing is slightly modified for this github issue though, it contains duplicate keys which isn't valid json; because of this serde_yaml treats the provided data as a Value::String rather than a Value::Mapping. Can you try running the json through a lint and see if the updated data solves the issue? https://jsonlint.com/

@dionverbeke
Copy link
Author

Solved. That was the issue.

@JamyGolden
Copy link
Member

Great! I’ll look at adding support for linting or debugging to make this issue more easily visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants