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

Parse folders of repository #165

Closed
dgarijo opened this issue Nov 15, 2018 · 6 comments
Closed

Parse folders of repository #165

dgarijo opened this issue Nov 15, 2018 · 6 comments

Comments

@dgarijo
Copy link

dgarijo commented Nov 15, 2018

I have added a repository where the queries are in a folder. GRLC doesn't create any API for it. I haven't seen a way of configuring this.

@c-martinez
Copy link
Collaborator

This is not currently supported -- it has been on the list of features to implement for a long time (see #24). Should not be difficult to implement, but it has been very low in the priority list.

@dgarijo
Copy link
Author

dgarijo commented Nov 22, 2018

I see, thanks for the heads up. I look forward to having this feature, as now I have to separate the queries into a separate repository :)

@c-martinez
Copy link
Collaborator

I'll close this issue and leave #24 open, but we should bump it up in priority.

@albertmeronyo
Copy link
Member

Reopening -- Just got another request for having this so assigning higher priority.
Will try to drop some commits under dev to test it

@albertmeronyo
Copy link
Member

Just added a first implementation for this, with three important limitations:

  • Only applies to queries stored in GitHub
  • Supports only subdirs at 1 level of depth
  • The API spec has some ambiguous clashes, so it will need refactoring but for now making sure to append a slash / every time you require an API spec (and not a query call) should be fine

Should be shortly available at dev.grlc.io. Please let us know if there's any issue!

@c-martinez
Copy link
Collaborator

This should now be possible using the subdir option.

Closing this issue, if this does not fix your issue, please reopen.

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

No branches or pull requests

3 participants