Skip to content

Conversation

@CodeDredd
Copy link
Owner

@CodeDredd CodeDredd commented May 13, 2024

πŸ”— Linked issue

closes #1847

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 99.76%. Comparing base (2d9db02) to head (f506de3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1848   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          88       88           
  Lines        6032     6032           
  Branches      512      512           
=======================================
  Hits         6018     6018           
  Misses         12       12           
  Partials        2        2           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@CodeDredd CodeDredd merged commit 0f09f09 into main May 13, 2024
@CodeDredd CodeDredd deleted the pinia-orm-1847 branch May 13, 2024 21:37
@github-actions github-actions bot mentioned this pull request May 13, 2024
import { registerPlugins } from '../store/Plugins'

export function useRepo<R extends Repository> (
export function useRepo<R extends Repository<any>> (
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't get why it stopped working in the first place... Is it somehow related to the attribute autocompletion?

Copy link
Owner Author

@CodeDredd CodeDredd May 14, 2024

Choose a reason for hiding this comment

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

Correctly. This PR changed some internall behaviour for passing the Model type to where and with.
It now comes to my mind....i don't know if autocomplete is now working correctly with custom Repo. I have to check that.

@github-actions github-actions bot mentioned this pull request May 17, 2024
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.

Repository typings are broken

4 participants