objectbox / objectbox/objectbox-dart
Support compiling in projects that support web
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 162
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Edit: Note that this is only about compiling packages that also support web when using ObjectBox on other platforms. For ObjectBox to support the web platform, see #185!
A project that imports object-box should be able to compile on web. As is, if we'd like a project to run on web, stubs must be created to avoid importing the package. This should be done within the package, so it will just work out of the box.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reproducing a web compilation failure in a Dart project that imports objectbox, then inspect the package's platform handling; done means consumer projects compile for web without creating stubs while non-web support remains intact. Web platform support itself is out of scope per #185.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- build-system, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100