stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
14 stars 17 forks source link

Rename CommandName enum #1701

Open maheshrajamani opened 19 hours ago

maheshrajamani commented 19 hours ago

The CommandName enum's name doesn't make sense, since it has more information than name, need to be renamed something like CommandInfo or CommandMetadata, etc

lattaai9 commented 19 hours ago

Hello, I tried to solve the issue.

This is what I did:

Renamed the CommandName enum to CommandInfo to better reflect its content, as it contains more information than just the command name. Updated all references to the enum accordingly.

You can review changes in this commit: https://github.com/lattaai9/stargate-data-api-1701/commit/d685a92335e2aef373920addb32495e404bd8e4d.

[!CAUTION] Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.


This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.