mvertopoulos / vue-msal

Vue plugin for using Microsoft Authentication Library (MSAL)
MIT License
123 stars 66 forks source link

Dynamic Graph Endpoints #26

Open Xdadevet opened 4 years ago

Xdadevet commented 4 years ago

Is it possible to have endpoints in the Graph initialization call that is dynamically constructed out of data received from other graph endpoint calls return values?

An example of this function would be to use the first Graph endpoint call to get the "Groups" a user belongs to and then looping through each group in the array with calls to fetch the "Members" of each group based on a URL endpoint constructed using the "Group.ID" property of each array item.

Or is there another way to execute a method with the same functionality after the call comes back from the Graph initialization using a watcher or something? I'm not having any luck, any help would be appreciated