Compiler hanging on v11.4 with uncurried enabled
A little delay, I’m trying to upgrade to v12 but after updating this package, I’m struggling with an other error : DckRescriptPromise is compiled in script mode while its dependent is not. I’ve...
View ArticleCompiler hanging on v11.4 with uncurried enabled
hmm this seems to be a not very descriptive error message caused by an invalid package name. Are you sure you didn’t update the name or namespace during the upgrade?
View ArticleCode generation from OpenAPI spec or similar
Hey, I’m wondering what is the status of ReScript codegen from OpenAPI spec or other similar typesafe API descriptions. I’ve seen some comments from at least @DZakh and @zth about it but I wasn’t able...
View ArticleCompiler hanging on v11.4 with uncurried enabled
I had to turn on the namespace because of module name conflict. It seems that my first attempt was incorrect to overload the Promise module of the core lib. I was doing this : module Promise = {...
View ArticleCode generation from OpenAPI spec or similar
Yeah, we’ve discussed this several times, but neither me nor @DZakh has gotten around to pursuing it. If someone else (maybe you @TomiS?) would be interested in spearheading this, then I’m sure we...
View ArticleCode generation from OpenAPI spec or similar
Seems like you don’t need to start from scratch at least: GitHub - Darkle/openapi-to-rescript-generator: Generate rescript code from an openapi spec document
View ArticleCode generation from OpenAPI spec or similar
I think what me and @DZakh was talking about last is simply starting with GitHub - DZakh/rescript-openapi: 🕸️ Typesafe OpenAPI for ReScript, and leverage those types to generate ReScript Schema (Sury...
View ArticleCode generation from OpenAPI spec or similar
Thanks for the update. I’ve also been wanting this for several years already, so maybe it would be time to actually contribute to doing something about it. I’ll see what (if anything) I can do.
View ArticleCode generation from OpenAPI spec or similar
I’m sure that if you get the ball rolling, we’ll all get excited and help out as much as we can. It’d be a massive contribution to the ecosystem if we could get this working well.
View ArticleCompiler hanging on v11.4 with uncurried enabled
Unfortunately, I have the same behavior with the latest alpha version (12) with rewatch or bsc. The process still seems blocked but doesn’t use much CPU. By deleting. By removing a lot a code, I...
View ArticleMixin tagged variants with unboxed
I have a JSON schema that will produce data like (per line): {"block_type": "page-break-1.0", "break_type": "soft"} {"block_type": "custom-section-1.0", "name": "Some section", "pk": "uuid"}...
View ArticleCompiler hanging on v11.4 with uncurried enabled
I just tried and indeed it’s related, I have all the errors (related to the missing ppx)
View ArticleMixin tagged variants with unboxed
The trick I’ve found is to define the component parts as single-element variants, then use variant spreads. It does mean that the shared Block module doesn’t really work, but it’s at least an option...
View ArticleCompiler hanging on v11.4 with uncurried enabled
Any luck? Was the issue happened during migration to v12-alpah? Polyvariant issue with rescript 12 alpha · Issue #90 · green-labs/ppx_spice · GitHub
View ArticleCompiler hanging on v11.4 with uncurried enabled
No sadly I have the same behavior on v11.4 and 12 alpha.
View ArticleComparing programming languages XIII: Retaking this series with ReScript
I wrote a short entry about ReScript https://marioarias.hashnode.dev/comparing-programming-languages-xiii-retaking-this-series-with-rescript
View ArticleWelcome Sury - successor of ReScript Schema
DEV Community Welcome Sury - The fastest schema with next-gen DX 🚀 Recently I wrote a comprehensive article about a JavaScript Schema library from the future where I...
View ArticleCompiler hanging on v11.4 with uncurried enabled
Can you identify which part of the source code is causing the hanging? If it’s reproducible, I can look at it together with you. If you’re okay with it, please invite me as a collaborator to the repo...
View ArticleComparing programming languages XIII: Retaking this series with ReScript
Thank you for sharing this benchmark. Getting a slower runtime by porting to ReScript contradicts my experience, so I inspected your implementation. Most of the runtime difference is caused by...
View Article