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(variable sub): substitue variables from other variables #346

Merged
merged 4 commits into from
Dec 25, 2024

Conversation

cedric05
Copy link
Owner

  • works for in file properties
  • need it work for property file?
  • need it work for properties

fixes #343 #342

This pull request includes various changes to improve the functionality and testing of the Dothttp project. The most important changes include enabling diagnostics and testing configurations in VSCode settings, modifying the property validation logic, updating the project version, adding a new HTTP request test file, and introducing a new test case for property substitution.

Improvements to development environment:

Enhancements to property validation:

  • dothttp/utils/property_util.py: Modified the validate_n_gen method to split properties on the first = sign and resolve property values using a cache.

Project version update:

  • pyproject.toml: Updated the project version from 0.0.43a29 to 0.0.43.

New test file for HTTP requests:

New test case for property substitution:

@cedric05 cedric05 merged commit 8e663ae into main Dec 25, 2024
4 checks passed
@cedric05 cedric05 deleted the varible_sub branch December 25, 2024 09:27
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

Successfully merging this pull request may close these issues.

Support: Variable templating
1 participant