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

Allow srid enum as srid property aside from integer #103

Merged

Conversation

yinx
Copy link
Contributor

@yinx yinx commented Jan 17, 2024

Small PR that adds the Srid enum as a valid property to the object constructors as srid property.
This change allows users to just pass the enum to the constructor instead of having to call '->value' themselves.

Copy link
Owner

@MatanYadaev MatanYadaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Could you please also update the class signatures on API.md?

@yinx
Copy link
Contributor Author

yinx commented Jan 17, 2024

Done!

@yinx
Copy link
Contributor Author

yinx commented Jan 17, 2024

I was a bit eager it seems. I changed the signature of the fromWkt function etc as well. Looking at it now it might be a good idea to actually change those function as well.

@MatanYadaev
Copy link
Owner

@yinx Can you please check the failing CI checks?

@yinx
Copy link
Contributor Author

yinx commented Jan 18, 2024

Ci checks have been fixed

@MatanYadaev
Copy link
Owner

Good job, thanks! :)

@MatanYadaev MatanYadaev merged commit 2f34039 into MatanYadaev:master Jan 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants