Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request]: debug/dry-run endpoint #31

Open
abeforgit opened this issue Jul 13, 2023 · 1 comment
Open

[feature request]: debug/dry-run endpoint #31

abeforgit opened this issue Jul 13, 2023 · 1 comment

Comments

@abeforgit
Copy link

For development and debugging, it would be nice to have a way to see the "execution plan" resources would send to mu-auth, without it actually sending it

something like:

GET /dry-run
{
  query: "/my/resource?filter[foo]=bar",
  method: GET,
  headers: {} 
  //etc
}

I feel like this could be a good first issue to get familiar with the code?

@madnificent
Copy link
Member

This would be a hard issue to tackle.

mu-cl-resources executes various queries. Some queries are constructed based on responses from earlier queries. There are algorithms in place to determine what the steps are but there is no abstract strategy defined in data.

It would be a good introduction to check what mu-cl-resources executes to find the necessary data, but it would be a hard first issue to build a dry-run endpoint with the current code-base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants