Open BenLune opened 3 years ago
Here, in your example :
import { NgxJsonapiModule } from 'ngx-jsonapi';
import { StoreService } from 'ngx-jsonapi/sources/store.service';
import { JsonRipper } from 'ngx-jsonapi/services/json-ripper';
@NgModule()
export class AppModule {
public constructor() {
JsonapiBootstrap({
user_config: { url: '//jsonapiplayground.reyesoft.com/v2/' },
jsonapiStore: new StoreFakeService(),
jsonRipper: new JsonRipperFake()
});
}
}
You import import { StoreService } from 'ngx-jsonapi/sources/store.service';
import { JsonRipper } from 'ngx-jsonapi/services/json-ripper';
Those classes are not exported in the public_api file, so we can't use them or I missed something.
but you use StoreFakeService
and JsonRipperFake
instead, this example doesn't seems to work.
Hi, Congratulations for this lib, it seems quite interesting and powerful. I'm trying to use it and it works. I would like to test the cache capabilities and when I look at the doc, it isn't very clear. Example shows the use of JsonRipper and StoreService, but they're not in the public_api.
Also, in the doc, you should write the new way to init JsonapiBootstrap this way :
I discovered the bootstrap static function looking at the code.
Thank you for the lib and for your help !