shuppet / raku-api-discord

Raku module for interacting with the Discord API.
https://shuppet.com
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Make sure we're not exposing JSON/hashes to the API users #44

Open Altreus opened 4 years ago

Altreus commented 4 years ago

There are a few places where we currently just parse JSON and send the hash all the way to the user. We should make sure JSON responses are turned into meaningful types ASAP!

Check we don't have any typeless hashes lying around. We might even be able to use punning just to decorate a normal hash with a type.