Comments (5)
Yep! You are correct, I fixed it. Thank you!
from ash_postgres.
Interesting...I think Ash packages can be on nimble options 1.0+. I'll look at updating it.
from ash_postgres.
Once CI passes, a new version of spark will release that should solve for this problem. So you can do mix deps.update spark
and it should use nimble options 1.0
from ash_postgres.
Closing this for now unless there is still an issue after updating spark :)
from ash_postgres.
First of all, thanks for the incredibly quick response.
However, there is still an explicit dependency on {:nimble_options, "~> 0.5"}
in the ash_postgres
repo, which causes the same error message to appear when doing the ash_phoenix
tutorial.
I was able to get a working copy locally using the following steps (I'm an Elixir noob if it wasn't obvious):
- Make a clone of this repo
- Update the dependency to
{:nimble_options, "~> 1.0"},
- Run
mix deps.update spark
- Then I could build a release with
mix release
- Then I installed the deps from my "hello world" ash_phoenix project using the local
ash_postgres
dependency that I built, and everything appears to be working (so far...)
So I believe that the explicit nimble_options
dependency in ash_postgres
itself still needs to be updated to fully fix the issue. (Or perhaps it could be removed altogether? I tried compiling ash_postgres
with the nimble_options
commented out, and it appeared to complete without error.)
Thanks again.
from ash_postgres.
Related Issues (20)
- Implement polymorphic_embeds_one in ash_postgres HOT 6
- Use gen_random_uuid() for generated uuids which is native to postgres 13+ HOT 1
- Aggregates on `{:array, ...}` types fail when arrays are empty HOT 9
- Sort doesn't work with join table filter HOT 4
- filters break when using the join assoc of a many to many to filter HOT 2
- Embedding a resource with an array attribute is not faithful HOT 2
- Loading a calculation on an existing resource does not loads its dependent loads HOT 5
- Treatment of the `/` operator in expr HOT 3
- Preparation does not work on a calculation, except when its parameters are cast as strings HOT 1
- Ash functions duplicated in migration HOT 1
- When moving a primary key, an unrunnable migration is generated HOT 3
- Warnings generated during compilation
- Migration generated when adding a reference can't be rolled back HOT 9
- `mix ash_postgres.generate_migrations` errors out with `key :table not found in: nil` HOT 5
- Proxy support for the multitenancy context strategy (pgbouncer and Supavisor) HOT 3
- Warn on console when a generated migration contains reviewable steps HOT 2
- Issue with generated migrations for multitenant resources HOT 1
- Mix task `ash_postgres.generate_migrations` doesn't say anything about `ash_apis` applicatione environment.
- Ash.Seed.seed!(%Module{...}) doesn't work starting 1.3.25 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 ash_postgres.