Comments (4)
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.
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.
I really like this direction, it makes it easier to adopt the schema language!
from liveblocks-schema.
I'd personally lean towards
use <name>
given how much of a departure thisimport
syntax would be from the traditional ES moduleimport
.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liveblocks-schema.