reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

Null check in `service.ts` does not work #263

Open bohoffi opened 4 years ago

bohoffi commented 4 years ago

The implemented null check at https://github.com/reyesoft/ngx-jsonapi/blob/v2.1/src/service.ts#L35 does not work because Core.me is undefined instead of null when JsonapiCore wasn't injected before. That's why the implemented error will never be thrown.