File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
internal/generator/internal/codegen Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ var overrides = map[string]string{
54
54
// https://github.com/andrewkroh/go-ingest-node/issues/15.
55
55
"_types.Script" : "string" ,
56
56
"_types.ScriptSource" : "string" ,
57
+
58
+ // NOTE: The generator should ideally be looking at the generic type
59
+ // parameters to determine the underlying data type and create a specific
60
+ // Go type like EpochTimeMillis.
61
+ // https://github.com/elastic/elasticsearch-specification/commit/2154fc3cce09605c6fe28523be66686a1c6fe056#diff-dd279dbec99794cf0554bb4ab6cfa07b69739d902bb5f178623e0a639087f0e7R120740-R120753
62
+ "_types.EpochTime" : "int64" ,
57
63
}
58
64
59
65
// acronyms is a set of acronyms that should be capitalized in identifiers.
You can’t perform that action at this time.
0 commit comments