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

Serde support for point types #24

Open
Boscop opened this issue Nov 26, 2018 · 2 comments
Open

Serde support for point types #24

Boscop opened this issue Nov 26, 2018 · 2 comments

Comments

@Boscop
Copy link

Boscop commented Nov 26, 2018

Please add optional support for serde's Serialize/Deserialize traits.
Like this:

serde = { version = "1.0", features = ["derive"], optional = true }
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct Point { // postgis::ewkb::Point

Thanks!

@pka
Copy link
Collaborator

pka commented Mar 25, 2020

What's your opinion about that, @andelf ? I never had a use case for serializing these postgis types since I'm storing them in PostresSQL already, but I still would be open for PR. So I wouldn't activate this feature by default.

@owlot
Copy link

owlot commented Jun 1, 2024

I would really like this actually, as we want to be passing PointZ values through grpc and rest requests

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

No branches or pull requests

3 participants