Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

feat: serialise any naff-objects passed in request payloads #649

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

LordOfPolls
Copy link
Member

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

This pr allows naff to serialise any naff-objects passed to the http client in a request. Obviously this requires the object to be a subclass of DictSerializationMixin

Changes

Checklist

  • I've formatted my code with Black
  • I've ensured my code works on Python 3.10.x
  • I've tested my code

@LordOfPolls LordOfPolls added Improvement Something that is already implemented but can be done better New Feature::Library A new feature for the library labels Sep 18, 2022
@LordOfPolls LordOfPolls merged commit 4277624 into 2.x Sep 23, 2022
@LordOfPolls LordOfPolls deleted the serialise-naff branch September 23, 2022 08:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Improvement Something that is already implemented but can be done better New Feature::Library A new feature for the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants