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

enhance: No longer require 'asSchema()' #335

Merged
merged 2 commits into from May 11, 2020
Merged

enhance: No longer require 'asSchema()' #335

merged 2 commits into from May 11, 2020

Conversation

ntucker
Copy link
Collaborator

@ntucker ntucker commented May 11, 2020

Motivation

Having to put .asSchema() is not only verbose, it's a hurdle for learning.

Solution

Originally this was decided to enable maximum simplicity of the denormalize/normalize type algorithm. However, this seems like a more optimal tradeoff

@github-actions
Copy link
Contributor

github-actions bot commented May 11, 2020

Size Change: -10 B (0%)

Total Size: 26.9 kB

Filename Size Change
packages/rest-hooks/dist/index.cjs.js 15.6 kB +1 B
packages/rest-hooks/dist/index.umd.min.js 6.93 kB -11 B (0%)
ℹ️ View Unchanged
Filename Size Change
packages/legacy/dist/index.cjs.js 433 B 0 B
packages/legacy/dist/index.umd.min.js 376 B 0 B
packages/test/dist/index.cjs.js 1.86 kB 0 B
packages/use-enhanced-reducer/dist/index.cjs.js 1.08 kB 0 B
packages/use-enhanced-reducer/dist/index.umd.min.js 593 B 0 B

compressed-size-action

@ntucker ntucker force-pushed the no-as-schema branch 2 times, most recently from 14eb94d to b4fa17f Compare May 11, 2020 11:35
@ntucker ntucker merged commit a29c41b into master May 11, 2020
@ntucker ntucker deleted the no-as-schema branch May 11, 2020 11:50
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.

None yet

1 participant