-
Notifications
You must be signed in to change notification settings - Fork 53
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
ComponentsContainer is not more generic #42
Conversation
An Innovative Testing Platform for the JVM » arquillian-graphene #52 SUCCESS |
Hey Juraj, it's not clear for me: By my opinion it should say it could return another fragment - either a component or composition of several components. But I don't think it should return list of components, because as you probably wanted to say, we know nothing about the type of list members. So what about having Then you could use it as:
or
|
Hey Lukas, I used that approach because I had wanted For example However, I found out that this approach is not type safe :( I will rework it to your proposition and when someone would need ComponentContainer which will hold more PageFragments, he will just implement ComponentConainer<T, E, ...>. |
…eneric, NestedElements class removed, affected api clasess fixed
An Innovative Testing Platform for the JVM » arquillian-graphene #61 SUCCESS |
Juraj, is there already test covering |
Btw commits contain some old stuff, could you please rebase on master? Ideally you should create issue + squash commits just to one. |
I have replaced this pull request with It was easier for me to do so. Closing therefore. |
It was my mistake to declare ComponentsContainer as generic, since it can not have only one generic type. ITs method getContent() is generic and it is enough.