mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 01:47:45 +03:00 
			
		
		
		
	Update interfaces.rst
This commit is contained in:
		
							parent
							
								
									52f54f51b2
								
							
						
					
					
						commit
						587ce5ae93
					
				| 
						 | 
					@ -91,7 +91,7 @@ For example, you can define a field ``hero`` that resolves to any
 | 
				
			||||||
    schema = graphene.Schema(query=Query, types=[Human, Droid])
 | 
					    schema = graphene.Schema(query=Query, types=[Human, Droid])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This allows you to directly query for fields that exist on the Character interface
 | 
					This allows you to directly query for fields that exist on the Character interface
 | 
				
			||||||
as well as selecting specific fields on any type that implments the interface
 | 
					as well as selecting specific fields on any type that implements the interface
 | 
				
			||||||
using `inline fragments <https://graphql.org/learn/queries/#inline-fragments>`_.
 | 
					using `inline fragments <https://graphql.org/learn/queries/#inline-fragments>`_.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For example, the following query:
 | 
					For example, the following query:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user