fix: ensure resource/template/list is marshalled safely #56
fix: ensure resource/template/list is marshalled safely #56ezynda3 merged 1 commit intomark3labs:mainfrom
Conversation
WalkthroughThe pull request refactors how URI templates are handled. It updates the resource template initialization to wrap the URI template in a pointer-based structure and introduces a new Changes
Possibly related PRs
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Definitions (3)mcp/resources.go (1)
server/server.go (1)
mcp/types.go (1)
🔇 Additional comments (9)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Fast follow to #54 to ensure that json is properly serialized for the
resource/template/listendpoint, as the new URI Template class does not have Marshall/Unmarshall defined.Summary by CodeRabbit
New Features
Refactor