Skip to content

Implement compute diff with hash tree traversal #16

Description

@toothlessdev

🧩 Summary

  • HashTree 를 재귀적으로 탐색하며 diff 를 계산하는 로직을 추가합니다

🎯 Context

  • 표준화된 oas spec 을 비교하여 변경사항을 수집하기 위함

🛠 Proposed Change

  • HashTree 를 탐색하며, hash 가 다른경우 children 으로 깊이우선탐색 진행
  • hash 가 다른 leaf 노드 발견시 diffInternalNode 를 호출해서 DiffResult 에 추가 (added, removed, modified)

📦 Scope

  • @patchlogr/core
  • @patchlogr/cli
  • @patchlogr/inspector
  • docs, examples
  • tests
  • ci / infra
  • other (아래에 명시)

⚠️ Impact & Risk

  • No Breaking Changes
  • Possible Breaking Changes

📎 추가 맥락 (Additional Context)

관련 이슈, PR, 문서, 스크린샷 등을 첨부해주세요.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions