Giter VIP home page Giter VIP logo

Comments (4)

marcbouchenoire avatar marcbouchenoire commented on May 29, 2024 2

As I said in DMs, Iā€™m a big fan of us making the language as TypeScript-y as possible given our context.

I agree with both proposals on a theoretical level, but my knowledge of the implications makes it that my opinion should probably be taken lightly.

Alternative syntaxes for import could be scalar (which is the GraphQL syntax for this), or use , which is what Rust uses. All the same thing. I have a slight preference for import, but I'm open to any alternative.

I'd personally lean towards use <name> given how much of a departure this import syntax would be from the traditional ES module import.

from liveblocks-schema.

ofoucherot avatar ofoucherot commented on May 29, 2024 1

People cannot write their own validators directly (because performance is key and we would always want to review it), but we could offer ways they could contribute to the list eventually since it's open sourced. But we can offer a very rich suite of data validators for common use cases like this, "batteries included" style.

I like that! We will enrich our libraries based on our customers' needs.

from liveblocks-schema.

FlowFlorent avatar FlowFlorent commented on May 29, 2024 1

I really like this direction, it makes it easier to adopt the schema language!

from liveblocks-schema.

nvie avatar nvie commented on May 29, 2024

I'd personally lean towards use <name> given how much of a departure this import syntax would be from the traditional ES module import.

Good point, we can make it use <name>. I've updated the propsal to reflect this šŸ‘

from liveblocks-schema.

Related Issues (3)

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.