Michael Jones
10/27/2017, 3:28 PMuser
query that grabs data on the user passed in the header going to be deprecated for CLI projects?agartha
10/27/2017, 3:37 PMUser
Type when creating tokens, the back-end does not know anymore what 'current user' means. For example, if you have a MyUser type, your authentication function can call generateNodeToken on a MyUser node, and you would need a myUser
query to get the 'current user'. You can implement this query yourself, although the fact that you cannot return model types from resolver functions yet, is a bit limiting. You can easily create a query like this in a Gateway though.Michael Jones
10/27/2017, 4:00 PMTavo
10/27/2017, 5:08 PMuser
will be deprecated? @Michael JonesMichael Jones
10/27/2017, 7:08 PMTavo
10/27/2017, 7:10 PM