(typeName string)
| 51 | } |
| 52 | |
| 53 | func (p *typeProvider) FindType(typeName string) (*exprpb.Type, bool) { |
| 54 | _, found := p.findSchema(typeName) |
| 55 | if !found { |
| 56 | return nil, false |
| 57 | } |
| 58 | return decls.NewTypeType(decls.NewObjectType(typeName)), true |
| 59 | } |
| 60 | |
| 61 | func (p *typeProvider) FindFieldType(messageType string, fieldName string) (*ref.FieldType, bool) { |
| 62 | schema, found := p.findSchema(messageType) |