-
Notifications
You must be signed in to change notification settings - Fork 82
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
Explicit api for all modules (and small changes on the way) #474
Merged
Merged
Changes from all commits
Commits
Show all changes
144 commits
Select commit
Hold shift + click to select a range
38675ff
Remove no longer necessary experimental annotations
lukellmann 22df84b
Move top-level test json.MessageTest.`User serialization` into class …
lukellmann e999eef
Move top-level tests in EmojiTest.kt into class json.EmojiTest and ma…
lukellmann 223aa15
Move top-level tests in GuildTest.kt into class json.GuildTest and ma…
lukellmann 7c8e5ca
Opt-in to experimental contracts for all modules
lukellmann e4ef825
explicitApi for all modules
lukellmann c4bfd21
explicitApi for Color
lukellmann 8b6612b
explicitApi for Annotations
lukellmann d312396
explicitApi for AuditLog
lukellmann 3954477
explicitApi for RateLimiter
lukellmann b7af632
explicitApi for DiscordPinsUpdateData and DiscordTyping
lukellmann 4f45c59
explicitApi for DiscordActivity
lukellmann 3914475
explicitApi for DiscordBitSet
lukellmann e958299
explicitApi for DiscordChannel
lukellmann a180cf5
explicitApi for DiscordComponent
lukellmann 3f9877b
explicitApi for DiscordConnection
lukellmann 4bae041
explicitApi for DiscordEmoji
lukellmann ff7a916
explicitApi for DiscordGuild
lukellmann aca7da8
explicitApi for DiscordGuildScheduledEvent and DiscordGuildWidget
lukellmann aa42ee7
explicitApi for DiscordIntegration
lukellmann 2e9dc8c
explicitApi for DiscordInvite
lukellmann e4704f1
explicitApi for DiscordMessage
lukellmann 4277150
explicitApi for DiscordNull and DiscordRole
lukellmann f00a16e
explicitApi for DiscordSelectOption, DiscordShard and DiscordStageIns…
lukellmann f16bfb6
explicitApi for DiscordTemplate and DiscordTimestamp
lukellmann c993f62
explicitApi for DiscordUser
lukellmann 8950214
explicitApi for DiscordWebhook
lukellmann 3469c67
explicitApi for Interactions
lukellmann 6be3aac
explicitApi for Invite and Member
lukellmann 0ae780a
explicitApi for Optional
lukellmann bc9ef54
explicitApi for Optional
lukellmann 55d8857
explicitApi for OptionalDelegates
lukellmann ad3f63c
explicitApi for OptionalInt
lukellmann 155363d
explicitApi for OptionalLong
lukellmann 8f987a1
explicitApi for OptionalSnowflake
lukellmann e21b40c
explicitApi for Permission
lukellmann 0bf10e4
explicitApi for Presence
lukellmann f408d3d
explicitApi for RequestException
lukellmann a2ca191
explicitApi for Snowflake
lukellmann 2d0a07a
explicitApi for Team
lukellmann 9154184
explicitApi for Command
lukellmann 99e9721
explicitApi for RateLimiter
lukellmann 9d84285
explicitApi for ActionRowBuilder
lukellmann 48ff44c
explicitApi for AllowedMentionsBuilder
lukellmann b96edd8
explicitApi for MessageCreateBuilders
lukellmann c749c72
explicitApi for AuditLogGetRequestBuilder
lukellmann 013a243
explicitApi for GatewayConfiguration
lukellmann 16fce29
explicitApi for Gateway
lukellmann dc909a6
explicitApi for GuildChannelPositionModifyBuilder
lukellmann 3cd50a0
explicitApi for GuildRequests
lukellmann a84f29f
explicitApi for OptionsBuilder
lukellmann dcce9ed
explicitApi for KtorRequestHandler
lukellmann ecb5b9b
explicitApi for RequestBuilder
lukellmann 6fc4683
explicitApi for RestClient / RestService
lukellmann 6bc71c2
explicitApi for RoleCreateBuilder
lukellmann 5164091
explicitApi for Event
lukellmann ce07e01
explicitApi for ApplicationCommandBuilders
lukellmann e0df398
explicitApi for ApplicationInfoResponse, ApplicationService, AuditLog…
lukellmann 10f11d7
explicitApi for BanCreateBuilder, BanResponse
lukellmann e53041b
explicitApi for ButtonBuilder
lukellmann 61b4aaa
explicitApi for CategoryCreateBuilder, CategoryModifyBuilder
lukellmann e519333
explicitApi for CdnUrl, Channel, ChannelFollowRequest, ChannelPermiss…
lukellmann 2683f2d
explicitApi for ChannelService
lukellmann a5fec1b
explicitApi for HttpUtils
lukellmann 1deebb1
explicitApi for ComponentBuilders
lukellmann f1fee67
explicitApi for Connection, CurrentUserModifyBuilder and CurrentUserN…
lukellmann 990f5b1
explicitApi for DiscordCdn
lukellmann 003bd50
explicitApi for DiscordErrorResponse and EditGuildChannelBuilder
lukellmann 4859173
explicitApi for EmbedBuilder and EmbedResponse
lukellmann e9e0ca2
explicitApi for EmojiCreateBuilder, EmojiModifyBuilder, EmojiRequests…
lukellmann 05fbe0d
explicitApi for FollowedChannelResponse, FollowupMessageModifyBuilder…
lukellmann f96eef0
explicitApi for FollowedChannelResponse, FollowupMessageModifyBuilder…
lukellmann 2d7ceb1
explicitApi for GuildModifyBuilder
lukellmann bd70c74
explicitApi for GuildService
lukellmann fc9538a
explicitApi for Image
lukellmann 13a813f
explicitApi for InputChatBuilders
lukellmann b801260
explicitApi for IntegrationModifyBuilder and InteractionResponseModif…
lukellmann c4342b4
explicitApi for Intent
lukellmann 41c6902
explicitApi for InteractionService
lukellmann 9e0120a
explicitApi for InteractionsRequests
lukellmann 2fcd450
explicitApi for InviteCreateBuilder, InviteCreateRequest and InviteSe…
lukellmann 75da90e
add new error codes and explicitApi for JsonErrorCode
lukellmann 05d8790
explicitApi for Retry and LinearRetry
lukellmann 16fc655
explicitApi for LoginBuilder
lukellmann dacb5c0
explicitApi for MemberAddBuilder and MemberModifyBuilder
lukellmann ad45ee6
explicitApi for MessageCommandBuilders
lukellmann 4e23870
explicitApi for MessageModifyBuilder, UserMessageModifyBuilder and We…
lukellmann ae0d141
explicitApi for MessageRequests
lukellmann a70c03a
explicitApi for MultiApplicationCommandBuilder
lukellmann af038ba
explicitApi for NamedFile
lukellmann 4437ceb
explicitApi for NewsChannelCreateBuilder
lukellmann 318ce1e
explicitApi for OpCode
lukellmann e76ff57
explicitApi for PermissionOverwriteBuilder, PermissionOverwritesBuild…
lukellmann 88be02b
explicitApi for Position, PresenceBuilder and Prune
lukellmann 4411c7a
explicitApi for Request
lukellmann 6bcc320
explicitApi for RequestBuilder
lukellmann 5f6ce74
explicitApi for RequestHandler and RestRequestException
lukellmann 9b0de8e
explicitApi for Route
lukellmann 371edc4
move companion object, Key class and NoStrategy up in Route.kt for be…
lukellmann a4fb113
Group routes similar to docs
lukellmann 56d71e0
explicitApi for RequestGuildMembersBuilder
lukellmann 61771d0
explicitApi for RoleModifyBuilder and RolePositionsModifyBuilder
lukellmann 66a7ac2
explicitApi for ScheduledEventCreateBuilder, ScheduledEventModifyBuil…
lukellmann bb0bd5a
explicitApi for SelectOptionBuilder
lukellmann d86d1f1
explicitApi for StageInstanceRequests and StageInstanceService.kt
lukellmann 28863d5
explicitApi for StartThreadBuilder and StartThreadWithMessageBuilder
lukellmann 838eb86
explicitApi for TemplateBuilders, TemplateRequests and TemplateService
lukellmann 7fbf7ca
explicitApi for ThreadModifyBuilder, Ticker and UserCommandBuilders
lukellmann b331eaf
explicitApi for UserRequests and UserService
lukellmann 4e3b9f5
explicitApi for VoiceService, VoiceStateModifyBuilder and VoiceStateR…
lukellmann a241e97
explicitApi for WidgetModifyBuilder
lukellmann ade1208
remove unnecessary constructor keywords
lukellmann 1bc6824
explicitApi for WebhookCreateBuilder, WebhookModifyBuilder, WebhookRe…
lukellmann 0b663e3
* fix ExceptionInInitializerError in AuditLogChangeKey.Serializer cau…
lukellmann e329580
Merge branch '0.8.x' into explicit-api
lukellmann 6dd38e2
revert change in NotSerializable
lukellmann 0e17b3a
Interactions models as data classes
lukellmann 499534d
public (De-)SerializationStrategies
lukellmann 535f6d5
DiscordClose as data class
lukellmann 9d97944
no data class for UrlFormatBuilder
lukellmann 3401c30
Merge branch '0.8.x' into explicit-api
lukellmann ebc0f37
Restore explicit api after merge
lukellmann 8166a96
Revert "add new error codes and explicitApi for JsonErrorCode"
lukellmann 5d18623
explicitApi for JsonErrorCode after revert (changes in https://github…
lukellmann 7d7d1cc
Revert making serializers internal (will be in future PR)
lukellmann 5abaf6b
Forgot some
lukellmann 87915e4
Remove unused logger
lukellmann 6deb2a2
Merge branch '0.8.x' into explicit-api
lukellmann 67a7c11
Restore explicit api after merge
lukellmann aa1c9d5
Merge branch '0.8.x' into explicit-api
lukellmann 0024fbc
Restore public api after merge
lukellmann 47af12c
restore shards field for GatewayResponse, fixed in other PR
lukellmann 75b06c8
Merge branch '0.8.x' into explicit-api
lukellmann 6c8ebbc
Restore explicit api after merge
lukellmann 36be5fe
Merge branch '0.8.x' into explicit-api
lukellmann f462abc
Restore explicit api after merge
lukellmann 330f85c
Merge branch '0.8.x' into explicit-api
lukellmann 54a56a5
SelectMenuComponent.disabled doc
lukellmann b2fff19
Locale doc
lukellmann bfb4116
Merge branch '0.8.x' into explicit-api
lukellmann 9cbc0f0
Restore explicit api after merge
lukellmann 66afcfb
Revert "Remove unused logger"
lukellmann 42608c3
typo
lukellmann 6def871
Merge branch '0.8.x' into explicit-api
HopeBaron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public
for.serializer()