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

feat(server): add geometry field support #1179

Merged
merged 32 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5797953
add point field to the field schema
nourbalaha Jun 14, 2024
5043f92
add point to convert schema
nourbalaha Jun 14, 2024
7279afa
add field point to schema domain models
nourbalaha Jun 14, 2024
0572fda
add unit tests
nourbalaha Jun 14, 2024
b64c5bc
add line string to field.graphql
nourbalaha Jun 18, 2024
74767d4
Merge branch 'main' of ssh://github.com/reearth/reearth-cms into feat…
nourbalaha Jun 18, 2024
e2aadab
wip
nourbalaha Jun 18, 2024
f8fffd2
Merge branch 'main' into feat-server/implement-geo-field-line-string
nourbalaha Jun 19, 2024
7751f44
wip: line string value
nourbalaha Jun 19, 2024
f986a86
wip: fix toValue in position and line string
nourbalaha Jun 19, 2024
b5e2d2d
wip: field line string
nourbalaha Jun 19, 2024
47a4902
add line-string to convert schema
nourbalaha Jun 19, 2024
90edd7a
update match_test
nourbalaha Jun 20, 2024
5792c59
update to value
nourbalaha Jun 20, 2024
c1fc0ac
add unit test
nourbalaha Jun 20, 2024
03d2f9b
fix: field line-string validate
nourbalaha Jun 20, 2024
17e07a5
add unit test for field line-string
nourbalaha Jun 20, 2024
963931d
update type property test
nourbalaha Jun 20, 2024
9d12e6b
Merge branch 'main' into feat-server/implement-geo-field-line-string
nourbalaha Jun 21, 2024
5ce028c
fix: toLineStringValue
nourbalaha Jun 25, 2024
fdc5de9
Merge branch 'main' into feat-server/implement-geo-field-line-string
nourbalaha Jun 25, 2024
eb2f795
revert previous code + add geometry field
nourbalaha Jun 27, 2024
26d609d
wip: geometry field
nourbalaha Jun 28, 2024
b098c88
test: fix the test cases
nourbalaha Jun 28, 2024
58e18ad
add ToGeometrySupportedType
nourbalaha Jun 28, 2024
ac13fad
wip: add validation to geo field
nourbalaha Jun 28, 2024
57eb374
fix: TestFieldGeometry_Validate
nourbalaha Jun 28, 2024
b97a871
fix: TestTypeProperty_Validate
nourbalaha Jun 28, 2024
31973a6
fix: TestValue_Match
nourbalaha Jul 1, 2024
86204e3
add FromGeometrySupportedType
nourbalaha Jul 1, 2024
9ec27c7
Merge branch 'main' into feat-server/implement-geo-field-line-string
nourbalaha Jul 1, 2024
6e777c1
Merge branch 'main' into feat-server/implement-geo-field-line-string
nourbalaha Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ require (
github.com/kelseyhightower/envconfig v1.4.0
github.com/labstack/echo/v4 v4.11.4
github.com/oapi-codegen/runtime v1.1.1
github.com/paulmach/go.geojson v1.5.0
github.com/ravilushqa/otelgqlgen v0.15.0
github.com/reearth/reearthx v0.0.0-20240308140749-72a08570c19b
github.com/robbiet480/go.sns v0.0.0-20230523235941-e8d832c79d68
Expand Down
2 changes: 2 additions & 0 deletions server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ github.com/onsi/gomega v1.7.0 h1:XPnZz8VVBHjVsy1vzJmRwIcSwiUO+JFfrv/xGiigmME=
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs=
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
github.com/paulmach/go.geojson v1.5.0 h1:7mhpMK89SQdHFcEGomT7/LuJhwhEgfmpWYVlVmLEdQw=
github.com/paulmach/go.geojson v1.5.0/go.mod h1:DgdUy2rRVDDVgKqrjMe2vZAHMfhDTrjVKt3LmHIXGbU=
github.com/perimeterx/marshmallow v1.1.5 h1:a2LALqQ1BlHM8PZblsDdidgv1mWi1DgC2UmX50IvK2s=
github.com/perimeterx/marshmallow v1.1.5/go.mod h1:dsXbUu8CRzfYP5a87xpp0xq9S3u0Vchtcl8we9tYaXw=
github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28=
Expand Down
Loading
Loading