Shreemanarjun / Shreemanarjun/datum

Incorrect Setup for `Isar`

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
27
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I don't think this is correct...
https://datum.shreeman.dev/guides/custom_adapters/isar_adapter/#setup

dependencies:
  isar: ^4.0.0
  isar_flutter_libs: ^4.0.0

dev_dependencies:
  isar_generator: ^4.0.0
  build_runner: ^2.4.6

As it is either the version for Isar not found or incompatible with Datum

Resolving dependencies...
Because every version of datum_generator depends on source_gen >=3.0.0 <5.0.0 and isar >=4.0.0-dev.3 depends on source_gen ^1.4.0, datum_generator is incompatible with isar >=4.0.0-dev.3.
So, because my_app depends on both datum_generator ^1.0.0 and isar ^4.0.0-dev.14, version solving failed.
Failed to update packages.
exit code 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the custom adapters Isar setup guide at datum.shreeman.dev/guides/custom_adapters/isar_adapter/#setup and compare its dependency block with the reported pub resolution failure. Check the compatibility of datum_generator, isar, isar_flutter_libs, isar_generator, source_gen, and build_runner; done means the documented setup resolves successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
databases, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.