Skip to content
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

Refactor/remove experimental decorators attribute validate #414

Merged

Conversation

dsalazar357
Copy link
Contributor

@dsalazar357 dsalazar357 commented Nov 28, 2022

Description

Removes experimental decorators for @attributes and @validate

Changes

  • Refactor default attributes definition
  • Removes references to schema structure in model an store
  • Fixes tests to match new default attributes

dsalazar357 and others added 5 commits November 9, 2022 15:20
removes @Attribute and their corresponding @Validate in tests model
adds getter for attributes. needs to refactor relationships
fixes returned value, still needs to fix snapshot
src/utils.js Outdated Show resolved Hide resolved
spec/Model.spec.js Outdated Show resolved Hide resolved
spec/Model.spec.js Outdated Show resolved Hide resolved
src/Model.js Outdated Show resolved Hide resolved
michelada and others added 4 commits November 30, 2022 16:01
removes getters from attributeDefinitions and uses static attrs
updates mockServer, factory and integration spec
uses new transformers in all specs
@dsalazar357 dsalazar357 marked this pull request as ready for review December 2, 2022 16:34
src/Store.js Outdated Show resolved Hide resolved
src/Model.js Outdated Show resolved Hide resolved
src/Model.js Outdated Show resolved Hide resolved
optimises attrs picking from store
Copy link
Contributor

@jondayton jondayton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! bump to version 5.0.0-rc1

@dsalazar357 dsalazar357 merged commit 429a387 into main Dec 2, 2022
@dsalazar357 dsalazar357 deleted the refactor/remove-experimental-decorators-attribute-validate branch December 2, 2022 20:52
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.

3 participants