Commit Graph

19 Commits

Author SHA1 Message Date
izzy lyseggen eabfa99651 feat(auth-dirs): remove @isAuthorized directives
was decided that these were a bit too much.
auth will be reverted to `authorizeResolver` within the resolvers
2020-08-19 15:39:52 +01:00
izzy lyseggen 9bb7b6fe05 feat(auth-dirs): allow hasScope and hasRole on obj
implement `visitObject()` so the directives can be applied to objects.
I have applied them to all mutations and tests all still pass.

NOTE: i feel like there must be a way to abstract and reuse directive
definitions as it's very repetitive, but I'm a bit too brain dead today
to think of an elegant solution
2020-08-17 17:12:52 +01:00
izzy lyseggen 6b8bb65dc5 feat(auth-dir): add auth directives to schema 2020-08-14 15:24:47 +01:00
izzy lyseggen ec09927f94 feat(directives): add @hasRole directive 2020-08-12 16:03:13 +01:00
izzy lyseggen 768ff42a50 refactor(directives): load these nicely 2020-08-12 09:59:07 +01:00
izzy lyseggen ee06bdf63d feat(directives): add @hasScope to schema 2020-08-11 14:39:06 +01:00
Dimitrie Stefanescu 7b32d39cac feat(subs): added redis pubsubber (shared resource), imported it into stream resolvers 2020-08-06 10:42:36 +01:00
Dimitrie Stefanescu 8f25a6f2fb fix(subs): subscriptions now properly initialising 2020-08-06 10:16:45 +01:00
izzy lyseggen d7b75f9bfb feat(subscriptions): trying to figure out subs
I added a streamCreated sub to try it out,
but I can't get it to connect 😅
2020-08-05 17:17:18 +01:00
Dimitrie Stefanescu 46e6572ab9 chore(typo & linting): fixed minor typos in readme & linting errors 2020-07-26 20:06:20 +01:00
Dimitrie Stefanescu 187204073d refactor(naming): renamed root to appRoot & updated all usage 2020-07-14 15:13:44 +01:00
Dimitrie Stefanescu 6847791ef1 feat(uploads): added test streaming endpoint for uploads 2020-06-14 00:30:41 +01:00
Dimitrie Stefanescu ceba8905d3 feat(structure): frontend + backend <3 2020-05-28 08:58:24 +01:00
Dimitrie Stefanescu a3557570ef feat(scopes and roles): separated user and token services 2020-05-18 20:36:15 +01:00
Dimitrie Stefanescu a68bd628c6 feat(rest): removed the rest api 2020-05-14 13:36:50 +01:00
Dimitrie Stefanescu 200331aacb feat(graphql): more scaffolding 2020-04-20 16:56:13 +01:00
Dimitrie Stefanescu 1995d8d64a feat(graphql): initial scaffolding 2020-04-18 15:22:34 +01:00
Dimitrie Stefanescu ee8591ede1 fix(objecst): added route to get many (on 413 - request headers too large) 2020-04-13 13:06:35 +01:00
Dimitrie Stefanescu 75f0472b03 first commit 2020-03-26 21:45:24 +00:00