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

feat: enable property in pre-request scripting [INS-3379] #7120

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Feb 28, 2024

Changes:

  • enable property in pre-request scripting
  • merge similar pre-request script test cases into one to improve performance

How to test:

Run following script:

const { Property, PropertyList } = require('insomnia-collection');

const p1 = new Property('p1');
const p2 = new Property('p2');

const propertyList = new PropertyList(Property, undefined, [p1]);
propertyList.add(p2)

console.log(p1);
console.log(propertyList.all());

@ihexxa ihexxa self-assigned this Feb 28, 2024
@ihexxa ihexxa merged commit 2ee1475 into develop Feb 29, 2024
7 checks passed
@ihexxa ihexxa deleted the pre-script-prop branch February 29, 2024 02:51
jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
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.

2 participants