8000 Better support for reading yaml from a stream by simonthum · Pull Request #5170 · RicoSuter/NSwag · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Better support for reading yaml from a stream #5170

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

simonthum
Copy link
Contributor

This simply exposes one more overload of to be able to pass in a TextReader, a subtype of which would be created from the data string anyway.

Using this overload properly will make the parser run while the stream is being read, so completion will happen earlier.

Copy link
Collaborator
@lahma lahma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@lahma lahma merged commit ba6e932 into RicoSuter:master May 13, 2025
3 checks passed
@simonthum
Copy link
Contributor Author

@lahma Is there any chance this will be released soon?

@lahma
Copy link
Collaborator
lahma commented May 14, 2025

You can get a preview from myget feed, no release plans yet.

@simonthum
Copy link
Contributor Author

I can only find

NSwag.Core.Yaml | 14.4.0-preview-20250428-2155

Could you please trigger the prerelease?

@lahma
Copy link
Collaborator
lahma commented May 14, 2025

I've incremented the version number and fixed some build issues, hopefully there will be a new pre-release soon(ish).

@simonthum
Copy link
Contributor Author

Thanks a lot!

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 this pull request may close these issues.

2 participants
0