Commit c10f0f5
Add testcase showing that we do not reveal hover enough info for models
Summary:
I will followup with some basic support for this by encoding some of the most common types.
In case I face any challanges encoding some of the types (I haven't seen any material challanges yet), I am strongly considering that for a field type annotation 'T' fallback be `T || Any` rather than just `Any`. That way, the hover info is still useful and if we face any tricky situations where we can't encode every single type in the conversion table, the hover information would still be useful.
Reviewed By: rchen152
Differential Revision: D87829610
fbshipit-source-id: a6f9689f4db97f06e30efdaf28da3c51c049bc0d1 parent 2202837 commit c10f0f5
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
0 commit comments