-
Notifications
You must be signed in to change notification settings - Fork 0
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: versioned protobufs #32
Commits on Feb 14, 2023
-
feat: minor refactoring. move formatSchemaType to utils.js
Tomás Ciccola committedFeb 14, 2023 Configuration menu - View commit details
-
Copy full SHA for daa2118 - Browse repository at this point
Copy the full SHA daa2118View commit details
Commits on Feb 16, 2023
-
chore: update schemasPrefix.js
Tomás Ciccola committedFeb 16, 2023 Configuration menu - View commit details
-
Copy full SHA for d2ae537 - Browse repository at this point
Copy the full SHA d2ae537View commit details
Commits on Feb 21, 2023
-
feat: version protobufs. contemplate invalid schemaVersion on tests
Tomás Ciccola committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for cae214d - Browse repository at this point
Copy the full SHA cae214dView commit details -
feat: fromPartial on encoding to allow optional lists on input
Tomás Ciccola committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 3e33597 - Browse repository at this point
Copy the full SHA 3e33597View commit details -
feat: throw error if invalid type_schemaVersion on decoding
Tomás Ciccola committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 5668f73 - Browse repository at this point
Copy the full SHA 5668f73View commit details -
feat: add formatSchemaType on utils to get key to schemas
Tomás Ciccola committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 0527860 - Browse repository at this point
Copy the full SHA 0527860View commit details
Commits on Feb 22, 2023
-
feat: add preset and filter proto and make semi-working example for both
Tomás Ciccola committedFeb 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 4bab3a0 - Browse repository at this point
Copy the full SHA 4bab3a0View commit details -
feat: build versioning of schemas from filesystem instead of on schemas
This is so that schemas that doesn't have schemaVersion can be generated too
Tomás Ciccola committedFeb 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 549197e - Browse repository at this point
Copy the full SHA 549197eView commit details -
* added optional fields to filter and preset protobufs * added field protobuf and schema * type is optional on Preset_1 so need to be made optional on base type (and deleted before validation) * schemaVersion is optional on Field_1 so need to be made optional on base type (and deleted before validation) * this means utils.js/formatSchema{Key,Type} no takes optional values
Tomás Ciccola committedFeb 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 89965ac - Browse repository at this point
Copy the full SHA 89965acView commit details -
chore: solved minor type error
Tomás Ciccola committedFeb 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 4348219 - Browse repository at this point
Copy the full SHA 4348219View commit details
Commits on Feb 23, 2023
-
feat: handle type casing with schemaPrefix
Casing on a doc type shouldn't be handled specifically by the code. Nevertheless, some schemas enforce a type to a specific value (type must be i.e. 'observation', which is different from 'Observation'). This means that type "observation" and "Observation" should have different dataTypeIds. That way we know what "type" to fill-in on returning the decoded object to be validated... If we want the same `dataTypeId` for 'observation' and 'Observation' (since we know we're actually talking about roughly the same type of 'document'), we could format the schemasPrefix object differently like: Observation: `{dataTypeId: '924892', versions: {'observation': 4, 'Observation': 5}}` or something less worse...
Tomás Ciccola committedFeb 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 17750cf - Browse repository at this point
Copy the full SHA 17750cfView commit details -
chore: logic error on
inheritsFromCommon
Tomás Ciccola committedFeb 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 88653d8 - Browse repository at this point
Copy the full SHA 88653d8View commit details
Commits on Feb 28, 2023
-
feat: add tests for many doc types. Test present fields and values
Tomás Ciccola committedFeb 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 2193743 - Browse repository at this point
Copy the full SHA 2193743View commit details
Commits on Mar 1, 2023
-
feat: add coreOwnership and device schema
Tomás Ciccola committedMar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for ffd7b25 - Browse repository at this point
Copy the full SHA ffd7b25View commit details -
Tomás Ciccola committed
Mar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 760a9fe - Browse repository at this point
Copy the full SHA 760a9feView commit details -
feat: add testing for validation of JSONSchema docs
Tomás Ciccola committedMar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 604161c - Browse repository at this point
Copy the full SHA 604161cView commit details -
feat: created_at is saved as Timestamp on protobuf
Tomás Ciccola committedMar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 670cc9e - Browse repository at this point
Copy the full SHA 670cc9eView commit details -
feat: timestamp is saved as Timestamp on protobuf
Tomás Ciccola committedMar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 4cdcb4a - Browse repository at this point
Copy the full SHA 4cdcb4aView commit details