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

SessionConfiguration Rework #110

Draft
wants to merge 43 commits into
base: develop
Choose a base branch
from
Draft

Conversation

MasterJ93
Copy link
Owner

@MasterJ93 MasterJ93 commented Feb 3, 2025

Description

Describe in detail what this Pull Request does and why it’s needed. Include anything the reviewers need to be aware of.

As mentioned in the discussions section below, the goal is to update SessionConfiguration to be more generic so that developers can implement their own solution for session management. ATProtocolConfiguration will now strictly be used for app password-related session management. The SessionConfiguration protocol will be used as a base for all forms of session configuration, including OAuth.

A legacy class may be created for those who still prefer the (soon to be) old way of doing things.

Linked Issues

Link any related issues here. Format: #[number]
#99

Type of Change

  • Bug Fix
  • New Feature
  • Documentation

Checklist:

  • My code follows the ATProtoKit API Design Guidelines as well as the Swift API Design Guidelines.
  • I have performed a self-review of my own code and commented it, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings or errors in the compiler or runtime.
  • My code is able to build and run on my machine.

Screenshots (if applicable)

No response

Additional Notes

No response

Sorry, something went wrong.

@MasterJ93 MasterJ93 added the new feature New feature or request label Feb 3, 2025
@MasterJ93 MasterJ93 self-assigned this Feb 3, 2025
@MasterJ93 MasterJ93 changed the base branch from main to develop February 3, 2025 00:23
#Conflicts:
#	Sources/ATProtoKit/ATProtoKit.docc/Extensions/Lexicons/Models/com.atproto/ComAtprotoLexicon.md
@MasterJ93 MasterJ93 added this to the 0.24.0 milestone Feb 23, 2025
Made "labels" property optional.
Fixed the truncation of "description" to 300 characters.
- Fixed documentation.
- Changed "avatarBlob" and "bannerBlob" type to
"ComAtprotoLexicon.Repository.UploadBlobOutput?"
- Fixed documentation.
- Removed unnecessary variable.
- Removed extra list record check.
- Fixed the value assignment of the record's arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

1 participant