Skip to content

refactor(daxus): export createModel/createAutoModel#227

Merged
jason89521 merged 4 commits intomainfrom
refactor/export-createModel-createAutoModel
Aug 8, 2023
Merged

refactor(daxus): export createModel/createAutoModel#227
jason89521 merged 4 commits intomainfrom
refactor/export-createModel-createAutoModel

Conversation

@jason89521
Copy link
Copy Markdown
Owner

@jason89521 jason89521 commented Aug 8, 2023

Proposed change

close #226

Now developers can directly use the createModel and createAutoModel functions. When they use them directly, they don't need to specify the name when they are defining accessor.

Type of change

  • New feature (which adds functionality to an existing integration)
  • Refactor

Implementation

Related Issue

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daxus-simple-forum ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2023 7:26am

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 8, 2023

Codecov Report

Merging #227 (4a58c38) into main (946dc8f) will increase coverage by 0.08%.
The diff coverage is 95.14%.

@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   91.10%   91.18%   +0.08%     
==========================================
  Files          36       37       +1     
  Lines        2450     2529      +79     
  Branches      348      346       -2     
==========================================
+ Hits         2232     2306      +74     
- Misses        214      218       +4     
- Partials        4        5       +1     
Files Changed Coverage Δ
packages/daxus/src/model/createDatabase.ts 78.18% <84.21%> (-1.51%) ⬇️
packages/daxus/src/model/createModel.ts 89.38% <95.83%> (ø)
packages/daxus/src/index.ts 100.00% <100.00%> (ø)
packages/daxus/src/model/Accessor.ts 100.00% <100.00%> (ø)
packages/daxus/src/model/InfiniteAccessor.ts 99.53% <100.00%> (+<0.01%) ⬆️
packages/daxus/src/model/createAutoModel.ts 100.00% <100.00%> (ø)
packages/daxus/src/model/index.ts 100.00% <100.00%> (ø)
packages/daxus/src/model/types.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jason89521 jason89521 force-pushed the refactor/export-createModel-createAutoModel branch from 2805c4e to 4a58c38 Compare August 8, 2023 07:25
@jason89521 jason89521 merged commit 4ee431c into main Aug 8, 2023
@jason89521 jason89521 deleted the refactor/export-createModel-createAutoModel branch August 8, 2023 07:28
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.

export createModel an createAutoModel

1 participant