benoitdm-oslandia / pg_featureserv

Apache License 2.0
1 stars 0 forks source link

Fix empty "properties" parameter for "mock" mode - [merged] #122

Closed benoitdm-oslandia closed 1 year ago

benoitdm-oslandia commented 1 year ago

In GitLab by @lowzonenose on Oct 13, 2022, 15:13

_Merges fix/paramsproperties -> develop

Ref #62 Fix behavior of empty "properties" parameter for "mock" mode (iso prod)

benoitdm-oslandia commented 1 year ago

In GitLab by @lowzonenose on Oct 13, 2022, 15:14

requested review from @azarz

benoitdm-oslandia commented 1 year ago

In GitLab by @azarz on Oct 13, 2022, 15:22

Il manque le fix pour la route /collections/{collectionId}/items/{featureId}

curl -X GET "http://localhost:9000/collections/mock_a/items/1?properties=&crs=4326" -H "accept: /"

{"type":"Feature","id":"1","geometry":{"type":"Point","coordinates":[-120,40]},"properties":{"prop_a":"propA","prop_b":1,"prop_c":"propC","prop_d":1}}%

benoitdm-oslandia commented 1 year ago

In GitLab by @azarz on Oct 13, 2022, 15:24

Commented on internal/service/handler_test.go line 310

tester aussi pour

    rr := hTest.DoRequest(t, "/collections/mock_a/items/1?properties=")
benoitdm-oslandia commented 1 year ago

In GitLab by @lowzonenose on Oct 13, 2022, 16:11

added 1 commit

Compare with previous version

benoitdm-oslandia commented 1 year ago

In GitLab by @lowzonenose on Oct 13, 2022, 16:11

resolved all threads

benoitdm-oslandia commented 1 year ago

In GitLab by @lowzonenose on Oct 13, 2022, 16:21

approved this merge request

benoitdm-oslandia commented 1 year ago

In GitLab by @azarz on Oct 13, 2022, 16:31

approved this merge request