arangodb-net-standard icon indicating copy to clipboard operation
arangodb-net-standard copied to clipboard

Created CollectionSchema and associated classes

Open tjoubert opened this issue 3 years ago • 0 comments

This solves #312 CollectionSchema is a class structured according to the schema attribute as described on these pages: https://www.arangodb.com/docs/stable/http/collection-creating.html#create-collection https://www.arangodb.com/docs/3.9/data-modeling-documents-schema-validation.html#error-message

I decided to set the type of the Rule property to object in order to allow developers the freedom to pass any JSON-serializable object or plain JSON string in this attribute. The ArangoDB server will take care of validating the rule at the time that it is sent to the server.

tjoubert avatar Jul 20 '22 08:07 tjoubert