GithubHelp home page GithubHelp logo

Comments (7)

lpinca avatar lpinca commented on July 23, 2024

That's correct, the template is not compiled when the hook is fired so endpoint.responses here is the $${whatever} string and thus the error.

No idea how to fix this :/

from serverless-cors-plugin.

joostfarla avatar joostfarla commented on July 23, 2024

Hmm not sure if this can be fixed without changing the order of how the framework handles the templating. @ac360, any thought on how we can fix this?

from serverless-cors-plugin.

openback avatar openback commented on July 23, 2024

@joostfarla It looks like you can, as mentioned in serverless/serverless#561

from serverless-cors-plugin.

joostfarla avatar joostfarla commented on July 23, 2024

@openback thanks for the info! I have a working solution and will probably release it in a few days!

from serverless-cors-plugin.

schabert avatar schabert commented on July 23, 2024

Also waiting for the new release

from serverless-cors-plugin.

joostfarla avatar joostfarla commented on July 23, 2024

Today it will be released :)

from serverless-cors-plugin.

joostfarla avatar joostfarla commented on July 23, 2024

Templating support has just been released in v0.3.2. Thanx all!

Please let me know if you experience any problems.

from serverless-cors-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.