Skip to content

Commit c45a51c

Browse files
committed
update tests to show support for deprecation with no provided reason
1 parent f2ddead commit c45a51c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/apollo-mcp-server/src/introspection/snapshots/apollo_mcp_server__introspection__minify__tests__minify_schema.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Demographics: T:Demographics:ageGroups:[AgeGroup],locations:[LocationStats],devi
4242
AgeGroup: T:AgeGroup:range:s!,percentage:f!
4343
LocationStats: T:LocationStats:country:s!,count:i!
4444
DeviceStats: T:DeviceStats:type:s!,count:i!
45-
UserPreferences: T:UserPreferences:theme:s!,language:s!,notifications:NotificationPreferences!,privacy:PrivacySettings!
45+
UserPreferences: T:UserPreferences:theme:s!,oldTheme:s@D,language:s!,notifications:NotificationPreferences!,privacy:PrivacySettings!
4646
NotificationPreferences: T:NotificationPreferences:email:b!,push:b!,sms:b!,frequency:s!
4747
PrivacySettings: T:PrivacySettings:profileVisibility:s!,showEmail:b!,showLocation:b!
4848
CreateUserInput: I:CreateUserInput:username:s!,email:s!,password:s!,role:UserRole,profile:CreateUserProfileInput

crates/apollo-mcp-server/src/introspection/tools/testdata/schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ type DeviceStats {
191191

192192
type UserPreferences {
193193
theme: String!
194+
oldTheme: String @deprecated
194195
language: String!
195196
notifications: NotificationPreferences!
196197
privacy: PrivacySettings!

0 commit comments

Comments
 (0)