Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redacted Entities #169

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Redacted Entities #169

wants to merge 5 commits into from

Conversation

TanmoySG
Copy link
Owner

This pull request introduces several significant changes to the wunderDB project, focusing on refactoring, updating dependencies, and improving the handling of collections and databases. The most important changes include modifying file paths, updating Go versions and dependencies, and introducing redacted models for better data handling.

Refactoring and File Path Changes:

  • Changed the main file path for wunderdb from cmd/wunderdb/wdb.go to cmd/wunderdb/main.go in .goreleaser.yaml, Dockerfile, Makefile, and scripts/start.sh. [1] [2] [3] [4]

Dependency Updates:

  • Updated Go version from 1.18 to 1.21 and added toolchain go1.23.0 in go.mod.
  • Updated various dependencies to their latest versions in go.mod.

Introduction of Redacted Models:

  • Introduced redacted models (RedactedC and RedactedD) for collections and databases in model/redacted/models.go.
  • Updated methods to return redacted models instead of full models in internal/collections/collections.go, internal/databases/databases.go, pkg/wdb/collections.go, and pkg/wdb/databases.go. [1] [2] [3] [4]
  • Updated tests to accommodate redacted models in internal/collections/collections_test.go and internal/databases/databases_test.go. [1] [2]

Code Adjustments:

  • Modified handler functions to handle redacted models in internal/server/handlers/collection.go and internal/server/handlers/database.go. [1] [2]

These changes enhance the project by improving code organization, updating dependencies, and ensuring sensitive data is handled appropriately with redacted models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant