trustfall
trustfall copied to clipboard
A query engine for any combination of data sources. Query your files and APIs as if they were databases!
``` thread 'main' panicked at 'internal error: entered unreachable code: field value_as_url (type Url) appears to represent neither an edge nor a property', C:\Users\_\.cargo\registry\src\index.crates.io-6f17d22bba15001f\trustfall_core-0.5.0\src\schema\mod.rs:399:17 ```
Any way we can improve the experience on that with the trustfall derive macro?
Consider this schema: ```graphql type Post { content: String! author: User # or optionally `User!` -- same in both cases } type User { name: String! } ``` and this...
Based on this pr: https://github.com/obi1kenobi/trustfall/pull/339 it's super easy to implement one case of CandidateValue and forget about the rest, so a helper for implementing the Single/Multiple cases might be helpful....
For example, on the "numbers" schema: ```graphql query { Four { predecessor @fold @recurse(depth: 5) { value @output } } } ``` This should return: ```json { "value": [4, 3,...
>> I have noticed in main.rs and at other points is the handling of paths as strings. I'm not sure, but could this be a problem for Windows users? `std::path::Path`...
I'm currently trying to understand how to write an adapter via examples _(not the easiest, but it's something)_, and interestingly it appears there's no meaningful error handling. In many cases...
I'm not sure what the aim is right now, but a desirable ecosystem would be that it is possible to combine different adapters (like a general `trustfall_github_adapter`) with some custom...
Right now, none of our code or tests check whether the result iterator will be `Send`, and I believe it is currently not `Send`. Making it `Send` would make it...
I have been experimenting a bit with constructing a single source of truth when developing an adapter. Here is the general idea I'm using right now - Use a `src/schema.trustfall.graphql`...