-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
c-httpAffects the http crateAffects the http cratec-modelAffects the model crateAffects the model cratec-utilAffects the util crateAffects the util crate
Description
Right now, we have a few different model builders in different places:
- crate
embed-builderEmbedBuilder
- crate
modelAllowedMentionsBuilderGuildChannelFieldsBuilderRequestGuildMembersBuilder
There is (as of 2021-07-20) an open PR to add a Command builder to model. Another aspect of this problem is that our builders perform validation tasks for HTTP requests.
We need to decide what to do here to make things more consistent. From what I can see there are a few options.
- Move all builders to the
utilcrate, with their own separate features - Move the
Embedbuilder to themodelcrate, which is consistent with the other builders - Unify builders and validation in their own crate
(This relates to Unify validation errors into more concise error types #999 because at the moment we need to update two different const values to update the embed validation)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c-httpAffects the http crateAffects the http cratec-modelAffects the model crateAffects the model cratec-utilAffects the util crateAffects the util crate