DEV Community

Cover image for Axum+SeaORM+Async-graphql: Building a GraphQL Service from Scratch

Axum+SeaORM+Async-graphql: Building a GraphQL Service from Scratch

叶师傅 on March 21, 2024

This article takes a learner's perspective and guides you step by step to quickly set up a GraphQL service. First, let's understand what Axum, Sea...
Collapse
 
agaviria profile image
Alejandro

Thanks for the post. Did you run into this axum error? I'm running axum v0.7.5

error[E0658]: `#[diagnostic]` attribute name space is experimental
   --> /home/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/handler/mod.rs:130:5
    |
130 |     diagnostic::on_unimplemented(
    |     ^^^^^^^^^^
    |
    = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information
    = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `axum` (lib) due to previous error
Enter fullscreen mode Exit fullscreen mode
Collapse
 
yexiyue profile image
叶师傅

Sorry, I didn't encounter this error