laminar

OpenApi backed REST APIs. Automatic validation of request / response based on the api schema. (by ovotech)

Laminar Alternatives

Similar projects and alternatives to laminar

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better laminar alternative or higher similarity.

laminar reviews and mentions

Posts with mentions or reviews of laminar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-30.
  • Ask HN: Does Anyone Like GraphQL?
    1 project | news.ycombinator.com | 6 Jun 2023
    The main (and only) criticism I’ve ever heard about graphql in the companies I worked for was that it is very js-oriented all the best libs/frameworks for it are for react frontend / node server mostly.

    Backend scala / php devs looked at it with distaste in their eyes, coming up with various reasons why its not a good idea.

    And to be fair with tools like openapi / grpc a lot of the benefits of graphql can be replicated.

    Even if they are clumsy and fragmented compared to it in my eyes, they still work well enough and keep devs in all camps happy enough, and compromise as they say is “when everyone is equally unhappy”.

    Now placed in situations like this I am usually forced to reimplement graphql tooling with the chosen api tech (for example https://github.com/ovotech/laminar) and if me as a single dev could do it, then I’d wager if there was stronger tech leadership, all the other tech tribes could just smooth the edges that they didn’t like for using graphql in their respective languages … but sadly that has not been my experience.

  • Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
    15 projects | news.ycombinator.com | 30 Jan 2023
    I use it extensively in prod. Well the superset that is OpenApi. It enables contract first development where any change to the api is done in the schema fist, and then implemented by the clients/server.

    Since we have tooling[0] that validates requests and responses at runtime, the clients can be absolutely sure of what they receive (we through 500 if the server attempts to respond with an undocumented respond) And the server is also sure about the shape of the requests. This allows us to validate everything at compile time too, generating typescript types for both client and server.

    And since we have similar tooling regarding our data stores (typescript types for sql queries) most of the time if there is a bug, the code would simply not compile - pretty nifty!

    [0] - https://github.com/ovotech/laminar

  • SQLBolt – Interactive lessons and exercises to learn SQL
    2 projects | news.ycombinator.com | 15 Jul 2021
  • Bad TypeScript Habits to Break This Year
    9 projects | news.ycombinator.com | 2 Feb 2021
    If the api has some contract with it OpenApi / Swagger / etc, its surprisingly easy to write a parser that would convert those to typescript types. TS has an awesome use as a library itself where you can write the ast with, and then tell it to convert it to code.

    We use it to great effect ourselves, by generating types for axios.

    https://github.com/ovotech/laminar/tree/main/packages/lamina...

    Now granted, you’re now trusting the api writers with their contract, but if its another team in the org we’ve found it to be warranted.

  • A note from our sponsor - SurveyJS
    surveyjs.io | 2 May 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →

Stats

Basic laminar repo stats
4
23
0.0
5 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com