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

[DAP102] Can't be used with generic types #128

Open
superrnovae opened this issue Sep 12, 2024 · 0 comments
Open

[DAP102] Can't be used with generic types #128

superrnovae opened this issue Sep 12, 2024 · 0 comments

Comments

@superrnovae
Copy link

superrnovae commented Sep 12, 2024

Hello !

I was using FastMember's ObjectReader to push streams of generic data into my DB using SqlBulkCopy.

Looking for a solution that supports async streams, I've stumbled upon this project.

I've tried to use it with a generic IAsyncEnumerable

But my project fails to compile due to DAP102 error: At least one gettable and settable member must be defined for type {0}.

I understand that it's probably not possible to generate the accessor when the type is only known at runtime.

Could you please update the documentation to reflect that generics are not supported?

@superrnovae superrnovae changed the title Can't be used with generic types [DAP102] Can't be used with generic types Sep 12, 2024
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

1 participant