Closed lechediaz closed 1 month ago
Hello. The test When_Resolve_DID_With_Two_VerificationMethod_Then_DID_Document_Is_Resolved
is failing but I didn't touched.
Hello @thabart , I have a problem trying to resolve the conflicts in this Pull Request, but I can’t figure out how to inject the DbContext instance. Previously, I would simply inject StoreDbContext
, but now I’m not sure which one to use because you moved things to a new project 😕. Can you please help me?
Hello,
I'm submitting my contribution as part of the functionality I discussed in Issue #521. Currently, it only allows seeding user data specified in the JSON file.
To make it work, you need to register the service in the Program file as follows:
After building the application, execute the seeding:
In the configuration, under the key
JSON_SEEDS_FILE_PATH
, you should specify the path where the JSON file with the information to be seeded is located.Within the JSON file, you can include an array of users under the key
Users
. Each user can contain information according to the UserSeedDto class. For example:I also added a unit test to validate the deserialization of the JSON file.
In the coming days, I will try to add the ability to seed
Clients
in a similar manner, at least for the basic ones.I hope my contribution is taken into account. I remain attentive to any comments or suggestions.