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

Support for headers on request #5

Open
arturo-ojeda opened this issue Mar 30, 2022 · 4 comments
Open

Support for headers on request #5

arturo-ojeda opened this issue Mar 30, 2022 · 4 comments

Comments

@arturo-ojeda
Copy link

Hi

Does Chappe support request headers?

I tried adding them in different ways but could not make it work

One example:
https://cln.sh/AZKicvAzGw7f9QsWWpR0

They are supported by API Blueprint but not working for Chappe.

I'll be glad to add them as a contribution but first I want to make sure

Thanks

@valeriansaliou
Copy link
Member

Hey Arturo!

You're right, we don't support them yet. I'm open for PRs on this!

All Blueprint parsing is done from there: https://github.com/crisp-oss/chappe/blob/master/res/plugins/gulp/jade-templates.js#L491 (during the Gulp build).

You're looking to debug the output of the Blueprint parser, and assign the parsed Headers from the raw Blueprint parser output to the template data object.

Thanks!

@arturo-ojeda
Copy link
Author

Awesome, thanks for providing additional details. Will work on it 👋🏻

@Bruno-Meowtel
Copy link

This would actually be super helpful! @arturo-ojeda, were you able to implement this feature?

@arturo-ojeda
Copy link
Author

I started doing it but got stuck and had to finish other things. I may continue with this in the next weeks 😅

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

No branches or pull requests

3 participants