Change type of CiJob.needs
This changes the type of `CiJob.needs` from `JobType.connection_type` to `BuildNeedType.connection_type`. This is because `Build#needs` does not return a relation of builds, but one of `Ci::BuildNeed`. This change is a backwards compatible bug-fix. Any query that works now will continue to work.
Showing
Please register or sign in to comment