Entitas icon indicating copy to clipboard operation
Entitas copied to clipboard

Non-generic interfaces should be more robust

Open ribbanya opened this issue 5 years ago • 0 comments

Generated interfaces which are not generic should allow for more generalised operations.

For example, IContext<TEntity> provides bool HasEntity(TEntity entity) but IContext does not provide bool HasEntity(IEntity entity). Alternatively, generated Contexts could also implement IContext<IEntity> in addition to their more specific entity type.

ribbanya avatar Mar 14 '19 22:03 ribbanya