Comments (2)
We could introduce "Object" as type in Wasp, and that would be what we call Wson above.
It would be very similar to JSON objects in JS. We might though add typing -> each object would have type, derived from its structure.
Then, we could say that for example creation of Page consists of:
- declaration:
page
- identifier:
MyPage
- value, from which page is constructed, and page would be expecting that value to be an Object of certain type.
It would be cool if that type would allow for missing fields.
from wasp.
Closing this one, since we are implementing a new version of Parser (Analyzer) that will automatically solve this.
from wasp.
Related Issues (20)
- Wasp not working with node 22.5.0 (this is npm bug, not Wasp!) HOT 2
- Wasp doesn't correctly detect failed npm install and continues instead of stopping
- Replace GPT 3.5 in Mage with GPT 4o mini
- Add "Production advice" to the docs
- On wasp db migrate-dev, if TS compilation failed, we don't do actual migration
- Allow users to configure the websocket client
- Add support for multiple servers
- `useQuery` doesn't handle errors thrown from wasp operation HOT 1
- Allow more complex CORS setups HOT 1
- wrong url after deployment
- ERR_MODULE_NOT_FOUND on build (reproducible with fresh install) HOT 1
- Refactor database engine definitions
- Unit test all of our framework code
- Make Ext import extensions consitent HOT 6
- Implement proper import mappings in SDK generator
- Deployment issue, project works on dev, deployed behind apache there is an odd "Hello world" route HOT 1
- `wasp deps` command doesn't output the SDK deps
- Expose PgBoss instance as part of public API
- Rename "client unit tests" to something more appropriate
- Server URL gets reset on the client in new deployments on Fly HOT 1
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 wasp.