Code Monkey home page Code Monkey logo

Comments (10)

HyperBrain avatar HyperBrain commented on June 26, 2024

Yes, right. The current plugin is compatible with SLS <1.0.
Serverless v1.0 has a completely different semantics about configuration and functionality (everything is done by using CloudFormation). So the 1.x.x plugin never will be compatible. There has to be a completely new version.

First there have to be lots of investigations to be done how to handle models with the new version and how CloudFormation interacts with referencing, creating, updating models and how to connect that to function deployments in SLS 1.0.

from serverless-models-plugin.

nickchisiu avatar nickchisiu commented on June 26, 2024

okay, so we are talking about a major refactoring here . Sweet , maybe a new plugin version could came up before the SLS v1.0 stable release .

from serverless-models-plugin.

dennisoverbeeke avatar dennisoverbeeke commented on June 26, 2024

Hi @HyperBrain, are you planning in creating a new plugin for sls v1.0? Or do you have any idea how to work-around with Cloudformation if we want to use the models?

from serverless-models-plugin.

HyperBrain avatar HyperBrain commented on June 26, 2024

I am still evaluating the model integration (at my company we ourselves are not yet on 1.0 because of the missing lambda alias support which is unpracticable if you have 500+ lambdas running). Currently I do not have an ETA for 1.0 support.

from serverless-models-plugin.

dennisoverbeeke avatar dennisoverbeeke commented on June 26, 2024

Hi @HyperBrain, thanks for your update. I will try to find a solution with a work-around (maybe deployment through cloudformation custom resources or something). If I find something I will let you know in this thread. Good luck with upgrading to sls v1 in you company

from serverless-models-plugin.

tchock avatar tchock commented on June 26, 2024

@dennisoverbeeke Have you found a work-around? We had the same problem, trying to add models to the Serverless generated APIGateway resource. We decided to write a Serverless 1.0 plugin ourselves. you can find it at here. Hope this helps you. If there is something missing, please let me know :)

from serverless-models-plugin.

dennisoverbeeke avatar dennisoverbeeke commented on June 26, 2024

Hi @tchock Sorry for replying so late. We had not found a solution but our requirements changed a bit: we mostly used it to generate iOS SDK and Swagger documentation (models are not used for validation in APIG). We wrote our own API Gateway manager in iOS and we do not use swagger but apiary, so we did not really need it anymore. We might re-use them in the future

Thank you very much for developing the plugin and mentioning it to me! Make sure the serverless community knows about your plugin! Regards

from serverless-models-plugin.

HyperBrain avatar HyperBrain commented on June 26, 2024

I will continue on this plugin for SLS 1.x soon! First I had to take care of alias support for the new framework version which was more important at that point (see https://github.com/HyperBrain/serverless-aws-alias).

After all the experiences I had with the new event based plugin system, I'm pretty confident that I can realize a working version for 1.x in a short timeframe.

from serverless-models-plugin.

celicoo avatar celicoo commented on June 26, 2024

Is this going anywhere?

from serverless-models-plugin.

HyperBrain avatar HyperBrain commented on June 26, 2024

@celicoo Well ... honestly this isn't going anywhere right now. I am not able to invest the time needed to port it due to my work on other projects I maintain and manage.

from serverless-models-plugin.

Related Issues (11)

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.