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

New IAdvancedAsyncStorage interface #618

Closed
wants to merge 2 commits into from

Conversation

profet23
Copy link

@profet23 profet23 commented Aug 9, 2022

Taking the comments from: #617

In order to not break existing implementations of IAsyncStorage, this PR proposes the new interface IAdvancedAsyncStorage which inherits IAsyncStorage and seeks to provide some additional functionality.

The idea would be to merge IAsyncStorage and IAdvancedAsyncStorage in a future release.

…nc to utilize a new overload of IAsyncStorage.SetViewedAsync that accepts multiple ids.

Adding PostgreSqlStorage implementation that can set multiple profilers as viewed in a single query.

Code cleanup.

Adding implementation for RemoteAppendExample.cs

Proposal for an IAdvancedAsyncStorage interface to facilitate some optional advanced operations.
@profet23
Copy link
Author

profet23 commented Aug 9, 2022

I'd like to make the new IAdvancedAsyncStorage internal here, but I'm honestly not sure how to implement InternalVisibleToAttribute with the dll signatures and build process.

Input welcome.

@NickCraver
Copy link
Member

Hey @profet23 sorry I should have been clearer on other PR: it's not an issue, just that it requires a major release. I have no issues rounding up current items and doing a 5.x release (needs testing with .NET 6, etc.). If we split the interface, then downstream implementors may not ever know about another interface and adding new ones indefinitely I don't think is a sound strategy :)

I haven't had the time allocation lately to look at these but based on surface: let's stick with your original and version appropriately.

@profet23 profet23 closed this Aug 9, 2022
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