zachdaniel

zachdaniel

Creator of Ash

Announcing AshTypescript - Automatic TypeScript type generation for Ash resources and actions

What if you had full stack types for SPAs built with tech like React, Inertia, Vue, Svelte… but all of the power Ash Framework and Elixir on the backend? Well, you can now.:wink: Home — ash_typescript v0.17.3

This is just 0.1.0, but it is the beginning of something big, and frankly something that we’ve been missing for a long time. Can’t wait to see what you all do with it, and a huge shoutout to our newest core team member @Torkan for all of his amazing work!


Most Liked

mikesax

mikesax

Very nice! Didn’t see that one coming, and yet it’s perfectly in line with Model your domain, derive the rest. Congratulations @zachdaniel and @Torkan, and thank you!

bpat

bpat

Been having a lot of fun playing with this extension. I didn’t have to wrestle with esbuild at all. Not having to duplicate types is going to clean up a lot of boilerplate, redundant client code I have for one rather complicated React component. A lot of awesome activity in the Ash realm lately, and this might be favorite new addition in a minute.

zachdaniel

zachdaniel

Creator of Ash

One command now gets you a React SPA with full-stack types, backed by Ash Framework, Phoenix, and Elixir!:exploding_head: Install and visit localhost:4000/ash-typescript for a handy guide !:smiling_face_with_sunglasses:

Finally, a bridge to the reliability + elegance of Elixir for our React-loving friends!


dstockdale

dstockdale

Ash is less like Ethereum and more like “define your data model once, and the rest of your app (queries, APIs, authorization, etc.) just fall out of it consistently”. Maybe that makes it the Solana of the Elixir world ¯\_(ツ)_/¯?

It has taken me quite a while to wrap my head around Ash fully but that might be because I don’t think I’ve come across anything exactly like it before. Original ideas can be confusing. At least it’s original to me :slight_smile:

Ferenc

Ferenc

I plan to follow the Elixir Mentor tutorial using Ash he introduced, so maybe it will click ;).

Where Next?

Popular in News & Updates Top

lawik
NervesHub has had a CLI for a long time. It is called nerves_hub_cli and for the longest time you’d add it as a dependency. But only once...
New
zachdaniel
Ash Framework What is Ash? Ash Framework is a declarative, resource-oriented application development framework for Elixir. A resource can...
New
ConnorRigby
This week we added official Nerves support for the OSD32MP1 line of SOMs. Currently we have tested the osd32mp1-brk breakout board, and ...
New
zachdaniel
Hey folks! I’ll be teasing some interesting bits going into Ash 3.0 while I work on it, and this is post #1! You can follow along with t...
New
mspanc
Membrane v1.2.6 has been released. What’s Changed Adjust to Elixir 1.19 by @Noarkhh in Update to elixir 1.19 by Noarkhh · Pull Request ...
New
jimsynz
As some of you know, I have been working on a tight integration between Ash and Reactor which has triggered a few small bug fixes in Spar...
New
fhunleth
We’ve released Nerves v1.3.0 with support for Elixir 1.7 and Distillery 2.0! We encountered a few bumps over the past week, but it’s look...
New
zachdaniel
What if you had full stack types for SPAs built with tech like React, Inertia, Vue, Svelte… but all of the power Ash Framework and Elixir...
New
bartblast
I’m excited to announce Hologram v0.5.0, a major evolution of the full-stack Elixir web framework! This release brings massive performanc...
New
zachdaniel
First two Ash cookbooks are live! We’re still refining the format, so please give us your feedback, good or bad! The first two are: optim...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement