File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1616    - uses : actions/checkout@v4 
1717    - name : Build and test 
1818      run : | 
19-         swift test \ 
20-           --skip testDoNotModifyBuiltInTypesAnDirectives \ 
21-           --skip testExtends 
19+         swift run DeleteMe 
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ let package = Package(
1717                . product( name:  " OrderedCollections " ,  package :  " swift-collections " ) , 
1818            ] 
1919        ) , 
20+         . target( 
21+             name:  " DeleteMe " , 
22+             dependencies:  [ " GraphQL " ] , 
23+         ) , 
2024        . testTarget( 
2125            name:  " GraphQLTests " , 
2226            dependencies:  [ " GraphQL " ] , 
Original file line number Diff line number Diff line change 1+ import  Foundation
2+ import  GraphQL
3+ 
4+ let  schema  =  try buildSchema ( source:  """ 
5+ type Query { 
6+   str: String 
7+   int: Int 
8+   float: Float 
9+   id: ID 
10+   bool: Boolean 
11+ } 
12+ """ ) 
13+ print ( " schema " ) 
14+ let  extendAST  =  try parse ( source:  """ 
15+ extend type Query { 
16+   foo: String 
17+ } 
18+ """ ) 
19+ print ( " extendAST " ) 
20+ let  extendedSchema  =  try extendSchema ( schema:  schema,  documentAST:  extendAST) 
21+ print ( " extendSchema " ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments