Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
There was a problem hiding this comment.
Pull request overview
Updates Insomnia dynamic mocking documentation to more precisely describe the Liquid-based templating model and faker-driven data generation used when rendering mock responses.
Changes:
- Refines the dynamic mocking page to explicitly describe Liquid templates, the built-in
req/fakervariables, and supported tags/filters. - Updates terminology from “Faker template tags” to “faker variables” and refreshes Liquid documentation links.
- Aligns the mock servers landing page copy with the updated Liquid/faker terminology.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| app/insomnia/dynamic-mocking.md | Clarifies dynamic mocking as Liquid template rendering at request time, documents req/faker, supported tags, and references. |
| app/_landing_pages/insomnia/mock-servers.yaml | Updates landing page “Dynamic mocking” copy to reference Liquid and faker variables. |
| Use simple Liquid conditions to vary the response based on the request. | ||
| Only a limited set of Liquid tags are supported for safety. | ||
| Only a limited set of Liquid tags is supported for safety. |
There was a problem hiding this comment.
Subject–verb agreement: since “tags” is plural, change this to either “Only a limited subset of Liquid tags is supported for safety.” or “Only a limited set of Liquid tags are supported for safety.”
| Dynamic mocking expands Insomnia’s mock servers with templates that generate context-aware and realistic responses. | ||
| Each response is rendered server-side by the mock server using templates with a safe, restricted tag set. | ||
| Insomnia also provides **Faker template tags** for generating random names, dates, and other test data at runtime. | ||
| Dynamic mocking expands Insomnia’s mock servers with the Liquid template language that generate context-aware and realistic responses. |
There was a problem hiding this comment.
Grammar: “the Liquid template language that generate …” should be “the Liquid template language that generates …” (or rephrase to “using the Liquid template language to generate …”).
| Dynamic mocking expands Insomnia’s mock servers with the Liquid template language that generate context-aware and realistic responses. | |
| Dynamic mocking expands Insomnia’s mock servers with the Liquid template language that generates context-aware and realistic responses. |
Description
I think the "test options for a mock route in the Insomnia app" section is not related to dynamic mocking — it covers general mock functionality and should be moved to a different page.
Fixes #issue
Preview Links
Checklist
descriptionentry in frontmatter.