-
Notifications
You must be signed in to change notification settings - Fork 1
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
Is an empty array intentional? #1
Comments
You are correct. Originally I was injecting the collection via the ctor and was hoping it would support 0-many instances, but this was not the case and the sample wouldn't run. For the sake of getting it working I changed the ctor to init an empty array. |
Got it. By the way, I switched from an array to a list in my pull request. Not sure if this is suitable. |
It's fine. I approved the PR but didn't merge it. I prefer to operate that way in case whoever submitted the review doesn't actually want it merged straight away - but feel free to merge. Also, I had a play with OpenShift on the weekend - it really seems like a cool bit of tech. If you watch this YouTube Video from 20:48 you can have a preview of what it does. I installed it on a Fedora VM. I'm 95% of the way there (I followed this) but for some reason the auto-git build is failing to connect to github.com for the clone. It's weird cause it has net as it can pull containers. Once I get it working I'll see if I can expose the VM to the outside world so we can use it as a playground. I'm also going to create a new project tonight or tomorrow (I'll see how I go with OpenShift) for the TestDefinition API. I want to plug an EventStore backend and do some tutorials. I gave up on the AuthServer stuff as I couldn't get Implcit flow working and I felt like looking at something more interesting. |
Not sure to understand why is there an empty array in a service. Looking at how it is initialized, it would always remain empty.
The text was updated successfully, but these errors were encountered: