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

Importing Requests from hurl file #123

Open
ashitaprasad opened this issue Feb 22, 2024 · 4 comments · May be fixed by #516
Open

Importing Requests from hurl file #123

ashitaprasad opened this issue Feb 22, 2024 · 4 comments · May be fixed by #516
Labels
enhancement New feature or request good first issue Good for newcomers import-export Import into from other formats & Export from API Dash priority: high

Comments

@ashitaprasad
Copy link
Member

Describe the bug/problem
Hurl project
Hurl File Format

Add support for importing requests from the Hurl file. The developed code should be able to parse the Hurl files, after processing let user choose the requests he wants to add via a dialog and create the corresponding requests in the API Dash collection.

@ashitaprasad ashitaprasad added enhancement New feature or request good first issue Good for newcomers import-export Import into from other formats & Export from API Dash labels Feb 22, 2024
@ashitaprasad
Copy link
Member Author

Update: The frontend is already implemented.
The only change required will be the addition on Hurl in ImportFormat enum and adding the parser code.

@WrathOP
Copy link
Contributor

WrathOP commented Dec 8, 2024

There's no parser for hurl in dart. So I was thinking of writing it from scratch the only issue is that the original parser is written in rust and I have never used rust. But I'll give it a try. Was thinking of using

https://pub.dev/packages/petitparser

To copy the grammar given in the official repo of hurl and try it that way.

@ashitaprasad
Copy link
Member Author

@WrathOP sounds good :) You can definitely use petitparser.
Good luck!

@ashitaprasad
Copy link
Member Author

@WrathOP you can check out https://pub.dev/packages/flutter_rust_bridge
In case you can get the pure Rust library working with Flutter.. That will also be an awesome thing to experiment with.

@WrathOP WrathOP mentioned this issue Dec 17, 2024
9 tasks
This was referenced Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers import-export Import into from other formats & Export from API Dash priority: high
Projects
None yet
2 participants