Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize AshGraphQL and port tenantInfo query #430

Merged

Conversation

rbino
Copy link
Collaborator

@rbino rbino commented Jan 17, 2024

Also revamp auth and context generation, leveraging Ash utilities

@rbino rbino changed the base branch from main to from-ash-we-rise January 17, 2024 21:55
Change context population, leveraging Ash Plug helpers

Signed-off-by: Riccardo Binetti <riccardo.binetti@secomind.com>
@rbino rbino force-pushed the ash-tenant-info branch 2 times, most recently from d9fc960 to c36efd0 Compare January 22, 2024 16:35
@rbino rbino marked this pull request as ready for review January 22, 2024 16:35
backend/test/support/conn_case.ex Show resolved Hide resolved
backend/test/edgehog_web/auth_test.exs Show resolved Hide resolved
Remove old manual types and resolver for this.
Restore tenant_info query tests, bypassing Phoenix connection when doing
so. This is going to be the new standard way to test.

Signed-off-by: Riccardo Binetti <riccardo.binetti@secomind.com>
Signed-off-by: Riccardo Binetti <riccardo.binetti@secomind.com>
Those get exposed by AshGraphql as documentation

Signed-off-by: Riccardo Binetti <riccardo.binetti@secomind.com>
Signed-off-by: Riccardo Binetti <riccardo.binetti@secomind.com>
@szakhlypa szakhlypa merged commit 8680066 into edgehog-device-manager:from-ash-we-rise Jan 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants