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

iss #193 fix 'optional' and 'not null' conflict #201

Merged
merged 11 commits into from
Jan 26, 2023

Conversation

stephenholleran
Copy link
Collaborator

@stephenholleran stephenholleran commented Jan 5, 2023

Pull request to review issue #193.

@stephenholleran stephenholleran added the bug Something isn't working label Jan 5, 2023
@stephenholleran
Copy link
Collaborator Author

Hi @dancasey-ie

I have made those changes. Can you please review?

Thanks,

Stephen

@dancasey-ie
Copy link

dancasey-ie commented Jan 9, 2023

@stephenholleran I am not sure if they were noted previously but null should also be added to the enum list for sensor_type_id and orientation_reference. No changes to the SQL are required for these.

@stephenholleran
Copy link
Collaborator Author

@stephenholleran I am not sure if they were noted previously but null should also be added to the enum list for sensor_type_id and orientation_reference. No changes to the SQL are required for these.

There were actually a few more in 'device_vertical_orientation' and 'mounting_type_id'.

@stephenholleran
Copy link
Collaborator Author

Hi @dancasey-ie,

I have made all the updates based on your comments both here and in #193.

Could you please review and give your approval. (Just a note here to say you are ok with it as I don't think you have reviewer privilege's.)
I think we should have split the 'date_from' into a different issues/PR as it is a slightly separate issue. I hope the PR is not too big.

Thanks,

@dancasey-ie
Copy link

@stephenholleran all looks correct

@stephenholleran
Copy link
Collaborator Author

Thanks @dancasey-ie.

@abohara are you able to take a quick look before I merge?

@abohara
Copy link
Collaborator

abohara commented Jan 25, 2023

@stephenholleran Some feedback below:

Why is date_from optional in lidar config ?

If the units are optional these changes make sense. I think it is prudent to wait just a little bit before hitting merge so that we can conclude the discussions in issue [https://github.com//issues/200]. We can try wrap up the conversation this Thursday perhaps ?

@stephenholleran
Copy link
Collaborator Author

Hi @abohara ,

Thanks for reviewing.

Why is date_from optional in lidar config ?

Can't really remember. Thinking about it now they probably should. However, to make it required would mean a breaking change so I think we can come back to this for a v2 release. I have create a new issues for this #208.

If the units are optional these changes make sense. I think it is prudent to wait just a little bit before hitting merge so that we can conclude the discussions in issue [https://github.com/https://github.com//issues/200]. We can try wrap up the conversation this Thursday perhaps ?

I don't think this PR needs to be held up by that discussion. If we decide to make the units required we can make those changes for that issue. Again, that would be a breaking change and so should be in a v2 release.

@abohara
Copy link
Collaborator

abohara commented Jan 26, 2023

Thanks @stephenholleran . The changes look good and thank you for sorting out how required vs optional are represented.

@stephenholleran stephenholleran merged commit b493784 into dev Jan 26, 2023
@stephenholleran stephenholleran deleted the iss193_optional_and_null branch January 26, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants