Scope of the PR
Add an additional optional value to state that the ResourceDao is being used for testing.
This is using sqflite_common_ffi under the hood to mock the underlying sqflite database.
Goal
Make it easier to write integration tests for functionalities that use the fhir_db.
What is the additional noise
I pulled main into dev to make sure that we are not missing any functionality that has been merged directly into main without being merged to dev first.
This is the reason you see changes in files that are not in the scope of this PR.
Edit:
If this is fine I can add myself the same changes in the other places (dstu2,r4, ...)
Scope of the PR Add an additional optional value to state that the
ResourceDao
is being used for testing. This is using sqflite_common_ffi under the hood to mock the underlying sqflite database.Goal Make it easier to write integration tests for functionalities that use the
fhir_db
.What is the additional noise I pulled main into
dev
to make sure that we are not missing any functionality that has been merged directly intomain
without being merged todev
first. This is the reason you see changes in files that are not in the scope of this PR.Edit:
If this is fine I can add myself the same changes in the other places (
dstu2
,r4
, ...)