Skip to content

feat: warn for primitive array resources#1767

Open
nightt5879 wants to merge 1 commit into
typicode:mainfrom
nightt5879:nightt5879/warn-primitive-arrays
Open

feat: warn for primitive array resources#1767
nightt5879 wants to merge 1 commit into
typicode:mainfrom
nightt5879:nightt5879/warn-primitive-arrays

Conversation

@nightt5879

Copy link
Copy Markdown

Summary

  • Skips id normalization for primitive array items so the database can load far enough to report the problem.
  • Adds a startup warning for top-level resources that contain primitive array values.
  • Covers primitive array detection and normalization behavior with focused tests.

Fixes #1765

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm lint

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.

Feature: add optional startup warning when db contains primitive arrays as resources

1 participant