()
| 308 | } |
| 309 | |
| 310 | func (s *Server) invalidateSchemaCache() { |
| 311 | s.schemaLock.Lock() |
| 312 | clear(s.schemas) |
| 313 | clear(s.schemaDigests) |
| 314 | clear(s.schemaOnces) |
| 315 | s.schemaLock.Unlock() |
| 316 | } |
| 317 | |
| 318 | func NewDefaultHandler(es graphql.ExecutableSchema) *handler.Server { |
| 319 | // TODO: avoid this deprecated method, and customize the options |
no outgoing calls
no test coverage detected