conjure icon indicating copy to clipboard operation
conjure copied to clipboard

add support for tagging if an endpoint is read or write

Open sixinli opened this issue 5 years ago • 2 comments

it would be useful for consumer to know the potential side effects of the endpoints

sixinli avatar Aug 14 '19 15:08 sixinli

@sixinli I think my concern with adding this extra metadata is I don't know how we could make sure it was correct. I.e. what if an endpoint was annotated as READ_ONLY but then someone actually made the endpoint do a migration-on-read that involved copying some data to a new store. The annotation of 'read/write' becomes a bit fuzzy at this point, and I'm not sure what value can be derived from metadata that is not always accurate.

iamdanfox avatar Sep 10 '19 14:09 iamdanfox

thats a valid concern... its hard to enforce because people can technically do anything they want even with a GET endpoint... this is more just for good practice

sixinli avatar Jan 23 '20 16:01 sixinli