Skip to content

add public methods for Load(Stream...) and LoadAsync(Stream,...), inc…#207

Closed
rysweet wants to merge 4 commits intomicrosoft:mainfrom
rysweet:main
Closed

add public methods for Load(Stream...) and LoadAsync(Stream,...), inc…#207
rysweet wants to merge 4 commits intomicrosoft:mainfrom
rysweet:main

Conversation

@rysweet
Copy link
Copy Markdown

@rysweet rysweet commented Mar 13, 2025

This PR adds public methods for Load(Stream...) and LoadAsync(Stream,...) and tests for each.

This enables you to include prompty files as an embedded resource in the dll and reference them as a Stream.

This closes #206

@rysweet
Copy link
Copy Markdown
Author

rysweet commented Mar 13, 2025

I wasn't sure where to add doc, if any

@rysweet rysweet mentioned this pull request Mar 13, 2025
Copy link
Copy Markdown
Contributor

@markwallace-microsoft markwallace-microsoft left a comment

Choose a reason for hiding this comment

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

Aside from the warnings flagged LGTM

Comment thread runtime/promptycs/Prompty.Core.Tests/LoadTests.cs
@rysweet
Copy link
Copy Markdown
Author

rysweet commented Mar 13, 2025

Aside from the warnings flagged LGTM

I'm not seeing warnings - happy to track them down just not sure where you are seeing them ;-)

@rysweet
Copy link
Copy Markdown
Author

rysweet commented Mar 16, 2025

Aside from the warnings flagged LGTM

I'm not seeing warnings - happy to track them down just not sure where you are seeing them ;-)

found and fixed

@rysweet rysweet closed this by deleting the head repository Mar 7, 2026
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.

feature: .NET - support Load(Stream, ...)

2 participants