[1.0.0] Add a schema to the backend.#111
Merged
ChadSikorra merged 8 commits intoFreeDSx:mainfrom May 9, 2026
Merged
Conversation
aedf771 to
1bf2ad9
Compare
…chema handler to eliminate the stub.
1bf2ad9 to
9fea5e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that the backend actually has persistence built-in, and we are already handling that logic, it makes sense to integrate a schema per RFC 4512. This way library users can define an explicit schema that clients must adhere to. Otherwise currently there's nothing preventing any client to write anything they want to any entry.
This also helps lay the foundation for put in some kind of ACL, or at least a decision hook, for restricting entry modifications / access based on the authenticated client.
So this does the following:
Explicitly ignoring LDIF for now. I can always add it later. This was already a lot of files to properly support this.