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

trailing space in yaml output for object of objects case #1294

Open
cyrush opened this issue Jul 12, 2024 · 3 comments
Open

trailing space in yaml output for object of objects case #1294

cyrush opened this issue Jul 12, 2024 · 3 comments

Comments

@cyrush
Copy link
Member

cyrush commented Jul 12, 2024

For example:

...dims:.
......i: 25
......j: 25
......z: 2
@cyrush
Copy link
Member Author

cyrush commented Jul 19, 2024

os << m_schema->object_order()[idx] << ": ";

os << m_schema->object_order()[i] << ": ";

@cyrush
Copy link
Member Author

cyrush commented Jul 19, 2024

To fix, we would need to add logic to add the space if the child is a leaf.

Not sure if the juice is worth the squeeze.

@rhornung67
Copy link
Member

juice? squeeze? 😄

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

No branches or pull requests

2 participants