Comments (6)
So for Alpha - sounds like we must have #2 done. What about #3, and #4?
Also for #1, that looks really cool. Wondering if there are benefits from that - or if it would just be used for very custom SQL that doesn't fit into what's possible with #2?
from ash.
There are benefits to #1 over #2, as for #1 they would be sortable/filterable. There are drawbacks though, as you could potentially make your queries slower for something you could have done more easily in code. However, #3 is designed to be an abstract representation that can be transformed into #1 or #2 on demand, so the framework can decide.
Also: I just realized that the spec for #2 should be something that takes a list of records and returns a list of values.
from ash.
As for which are necessary: I want to add a very limited form of 3/4, even if it’s not fleshed out to be useful, to make sure that the rest of the pipeline is ready for it. So we’d really want all of them before alpha, but for 3/4 it would only be the guts.
from ash.
This has been broken out into aggregates and calculations, and aggregates have been completed (roughly)
from ash.
The initial functional portion of calculations has been completed.
from ash.
This is all now supported.
from ash.
Related Issues (20)
- Flow ignores authorization.
- has_many through HOT 2
- Documentation out of date when passing a function for manual reads
- Default update/destroy actions to `require_atomic? true`.
- Set the default value for authorization.authorize to `:by_default`
- Bug when passing the wrong types of resources to code interface functions HOT 2
- Require API for changeset, query and action input creation
- Remove Registries HOT 1
- Default `previous_values?` to `false` for notifiers
- Custom checks and notifiers should not have access to the original data by default
- Rename Ash.Api to Ash.Domain
- Pagination (keyset) does not work when trying to sort by calculation with argument
- Support methods around field policies HOT 6
- Order in tuple for calculation in query sort HOT 2
- Include all filtering to pagination count
- Integer, Float, Decimal constraints: :greater_than, :less_than HOT 4
- Support resources as aggregate targets in expressions HOT 1
- A new built-in change function - `touch_related` HOT 2
- Ash 3.0 compatible packages HOT 9
- "Updated at" timestamp not updated during atomic update 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.