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

feat(rpc): add private attributes #88818

Merged
merged 2 commits into from
Apr 7, 2025
Merged

Conversation

wmak
Copy link
Member

@wmak wmak commented Apr 4, 2025

  • This adds the fields that were in trace_item_details' DISALLOW_LIST to our full list of attributes, and then marks them private
  • The goal here is that all possible columns in the RPC are defined in attributes and we define the expected behaviours for all of them

wmak added 2 commits April 4, 2025 13:10
- This adds the fields that were in trace_item_details'
  DISALLOW_LIST to our full list of attributes, and then marks them
  private
- The goal here is that all possible columns in the RPC are defined in
  attributes and we define the expected behaviours for all of them
@wmak wmak requested a review from a team as a code owner April 4, 2025 17:14
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 4, 2025
Comment on lines -27 to -30
DISALLOW_LIST = {
"sentry.organization_id",
"sentry.item_type",
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@wmak wmak merged commit 8200b7f into master Apr 7, 2025
50 checks passed
@wmak wmak deleted the wmak/feat/add-private-attributes branch April 7, 2025 17:32
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
- This adds the fields that were in trace_item_details' DISALLOW_LIST to
our full list of attributes, and then marks them private
- The goal here is that all possible columns in the RPC are defined in
attributes and we define the expected behaviours for all of them
Copy link

sentry-io bot commented Apr 10, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ InvalidSearchQuery: The field sentry.item_type is not allowed for this query /api/0/organizations/{organization_id_or_slug}/... View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants