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

Allow passing typed arguments to inherited class like public class Event : FullAuditedAggregateRoot<int> #26

Open
radrad opened this issue Mar 25, 2022 · 0 comments

Comments

@radrad
Copy link

radrad commented Mar 25, 2022

Hi Lauren
You mentioned that you will add a feature to allow to use typed parameters for inhereted class like Event:
public class Event : FullAuditedAggregateRoot
or
public class Event : FullAuditedAggregateRoot

Here there are some inhereted properties and one of them is
Id which becomes Guid type as concrete type or int depending on how you pass concrete type parameter.
Please add it in version 4 as well as Guid type. It is ugly do use tags to skip Id field when looping over attributes since it is
implicitly defined.

https://stackoverflow.com/questions/70092361/generating-class-in-c-sharp-that-inherits-a-generic-class-which-uses-type-parame
Your comment:
Regarding the class, for the moment there are no annotations (or tags) at the entity level (it will happen soon).

We also don't have ability do desigate what base class we want to inherit.
In abp.io framework I have ability to do this:
public class Event : AggregateRoot
public class Event : Entity

I have to use some external .json file to provide extra metadata

Thanks
Rad

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