https://github.com/serlo/api.serlo.org/pull/1234 already provided the database access to the API gateway and as an example moved a first endpoint, UserSetDescriptionMutation, to the API gateway. Now the other endpoints can be moved in similar fashion. The goal of this is to reduce complexity, as the separation in different services with different programming languages has not added a lot of advantage.
[x] namespace user
[x] ActiveAuthorsQuery (almost done, test has to be fixed before stop using db layer)
https://github.com/serlo/api.serlo.org/pull/1234 already provided the database access to the API gateway and as an example moved a first endpoint, UserSetDescriptionMutation, to the API gateway. Now the other endpoints can be moved in similar fashion. The goal of this is to reduce complexity, as the separation in different services with different programming languages has not added a lot of advantage.
notificationEvent
, see https://github.com/serlo/api.serlo.org/issues/1454See https://github.com/serlo/api.serlo.org/blob/staging/packages/server/src/model/database-layer.ts