mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 00:36:01 +03:00
[PR #391] [CLOSED] [WIP] displayName as struct to faciliate optional display name field. #715
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#715
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/391
Author: @Moovlin
Created: 12/6/2022
Status: ❌ Closed
Base:
main← Head:displayNameFix📝 Commits (1)
cef5252Changed the struct to make things launch. I've done no testing.📊 Changes
14 files changed (+124 additions, -43 deletions)
View changed files
📝
app/src/components/create_user.rs(+1 -1)📝
app/src/components/user_details_form.rs(+2 -2)📝
schema.graphql(+2 -2)📝
server/src/domain/handler.rs(+4 -3)📝
server/src/domain/ldap/user.rs(+1 -1)📝
server/src/domain/model/users.rs(+2 -2)📝
server/src/domain/sql_backend_handler.rs(+2 -2)📝
server/src/domain/sql_user_backend_handler.rs(+7 -11)📝
server/src/domain/types.rs(+78 -2)📝
server/src/infra/auth_service.rs(+1 -3)📝
server/src/infra/graphql/mutation.rs(+7 -5)📝
server/src/infra/graphql/query.rs(+1 -1)📝
server/src/infra/ldap_handler.rs(+14 -7)📝
server/src/main.rs(+2 -1)📄 Description
Opening this as a WIP PR to get a review on the code I've written to make sure it meets the standards of the project as well as get some feedback on the implementation. At this point, i created a new struct which is near identical to the userId struct and then converted all
Optional(String)s toDisplayName(String).Testing:
LLDAP launches and I've run
cargo testwith one test failing. This may be a test that is failing simply because of the change made or it may require more work.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.