Skip to content

Prerelease-v0.7.0

Compare
Choose a tag to compare
@YuriyDurov YuriyDurov released this 04 Jan 15:48
· 57 commits to main since this release

Overview

Added a handy new package: BitzArt.Flux.Json.

It allows mocking external dependencies by providing Flux with mock data in json format.

Documentation for this new functionality is coming in future updates.

Example

services.AddFlux(flux =>
{
    flux.AddService("My-External-Service")
        .UsingJson()
        .AddSet<TestModel, int>("./data/test-model.set.json").WithKey(x => x.Id);
});