Skip to content

Commit adfdbec

Browse files
committed
odd but support write ops on /export just for fun
Signed-off-by: Doug Davis <[email protected]>
1 parent 0e52e41 commit adfdbec

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ TODOs:
117117
- add model tests for typemap - just that we can set via full model updates
118118
- support the DB vanishing for a while
119119
- create an UpdateDefaultVersion func in resource.go to move it from http logic
120-
- support ?export /export
121120
- support ximport
122121
- support validating that xref points to the same resource def
123122
- test xref more
@@ -150,5 +149,4 @@ TODOs:
150149
- Split the model.verify stuff so it doesn't verify the data unless asked to
151150
- make sure that setting capabilities.BOOL-attrs to 'true' fails if we don't
152151
support it. Like pagination or enforcecompatibility
153-
- support/test ?inline, ?filter and ?export on write operations
154152
- add support for shortself

registry/httpStuff.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ func HTTPPutPost(info *RequestInfo) error {
14061406

14071407
// URL: /
14081408
// ////////////////////////////////////////////////////////////////
1409-
if len(info.Parts) == 0 {
1409+
if info.GroupType == "" {
14101410
// PUT /
14111411

14121412
err = ConvertRegistryContents(IncomingObj, info.Registry.Model)

0 commit comments

Comments
 (0)