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

Example of #code helper for grpc mocks #238

Open
AndersSoee opened this issue Aug 31, 2023 · 1 comment
Open

Example of #code helper for grpc mocks #238

AndersSoee opened this issue Aug 31, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@AndersSoee
Copy link

AndersSoee commented Aug 31, 2023

all attempts so far when using the #code helper in grpc mocks ends with
error: Unexpected end of JSON input
example:

{{#code}}
(()=>{
    return '{ "foo": "bar"}'
})();
{{/code}}

Could you provide an example of how to use this?

@AndersSoee AndersSoee added the enhancement New feature or request label Aug 31, 2023
@tuddman
Copy link

tuddman commented Apr 18, 2024

@AndersSoee were you ever able to make this work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants