Skip to content

feat: Added Schema type #84

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

Merged
merged 4 commits into from
Mar 15, 2023
Merged

feat: Added Schema type #84

merged 4 commits into from
Mar 15, 2023

Conversation

gismya
Copy link
Contributor

@gismya gismya commented Mar 3, 2023

  • I have added automatic tests where applicable
  • The PR title is suitable as a release note
  • The PR contains a description of what has been changed
  • The description contains manual test instructions

Changes

Added a type for schema and made related code changes. Made a change in getPrimaryKeyAttributes to give null if the Primary Key array would be empty.

Test

Are schemas still working as expected?

@gismya gismya requested a review from a team as a code owner March 3, 2023 11:05
@gismya gismya requested a review from jimmycallin March 3, 2023 11:06
@jimmycallin jimmycallin self-requested a review March 15, 2023 14:34
@gismya gismya merged commit 128e96e into main Mar 15, 2023
@gismya gismya deleted the Add-schema-type branch March 15, 2023 14:53
gismya added a commit that referenced this pull request May 15, 2023
* feat: Added Schema type

* Rewrite getSchema to use find()

* Removed a few "as any"

* Throw an error if no primary key is found during ensure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants