Skip to content

Conversation

@Kubaryt
Copy link
Member

@Kubaryt Kubaryt commented May 26, 2025

No description provided.

@Kubaryt Kubaryt requested a review from Norbiros May 26, 2025 18:21
@Kubaryt Kubaryt self-assigned this May 26, 2025
@Kubaryt Kubaryt requested a review from a team as a code owner May 26, 2025 18:21
@hack4krak-deployment
Copy link

hack4krak-deployment bot commented May 26, 2025

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
Frontend ✅ Done Preview URL 2025-10-20T19:54:47.488Z

@Kubaryt Kubaryt force-pushed the enhancement/more-admin-endpoints branch 2 times, most recently from 0f5a35a to 17c5a0d Compare May 26, 2025 18:29
@Kubaryt
Copy link
Member Author

Kubaryt commented May 26, 2025

…i hate openapi, i will fix it later

pub id: Uuid,
pub team: Uuid,
pub administration_code: Uuid,
#[sea_orm(unique)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed that and it never got merged to the master. Please clear this from your db

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it got merged but only in migrations, entity on master doesn't have unique key here, but latest migration has

@Kubaryt Kubaryt requested a review from a team as a code owner May 27, 2025 15:17
@Kubaryt
Copy link
Member Author

Kubaryt commented May 27, 2025

i tried literally everything to fix this openapi issue and it still fails…

@Kubaryt Kubaryt force-pushed the enhancement/more-admin-endpoints branch from 7066891 to d71ff6d Compare May 27, 2025 15:19
@Kubaryt
Copy link
Member Author

Kubaryt commented May 27, 2025

this problem with openapi is probably related to how utoipa::ToSchema macro implements ToSchema for those entities, they all have the same name, just Model

@Kubaryt
Copy link
Member Author

Kubaryt commented May 30, 2025

as far as i am concerned this is waiting for new release of rust so yeah

@Kubaryt Kubaryt marked this pull request as draft May 30, 2025 19:48
@Norbiros
Copy link
Member

You could always just use normal useFetch in the frontend and create a new issue for this

@Norbiros
Copy link
Member

image

yaay! Span::file got stabilized in 1.88

@Kubaryt Kubaryt force-pushed the enhancement/more-admin-endpoints branch from d71ff6d to f88c0c6 Compare August 14, 2025 08:35
@Norbiros
Copy link
Member

You need to rewrite it to avoid duplication :c I send you all the details on discord

@Kubaryt Kubaryt force-pushed the enhancement/more-admin-endpoints branch 2 times, most recently from e5ee8b9 to dbefc54 Compare October 20, 2025 19:17
@Kubaryt Kubaryt force-pushed the enhancement/more-admin-endpoints branch from dbefc54 to 4a5157f Compare October 20, 2025 19:22
let name = input.ident;
let span = name.span().unwrap();

let panic_message =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Kubaryt Kubaryt force-pushed the master branch 2 times, most recently from 4ccdc47 to 4ab6149 Compare January 10, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants