SchlenkR / Trulla

Type Safe Text Templates - usable as type provider (F#) or source generator (C#)
Apache License 2.0
61 stars 0 forks source link

[Question] Can we use files? #15

Open OnurGumus opened 2 months ago

OnurGumus commented 2 months ago

Hi,

At the moment I am using FSharp.Data.LiteralProviders to import strings from files. Is there a more built in way?

SchlenkR commented 2 months ago

Currently not, but there is(was?) an issue or TODO I can remember, but it seems to be gone :( Nice workaround BTW 😀 Are you interested in implementing it or just use it? I could assist (or maybe get my hands on if you really need it).

OnurGumus commented 2 months ago

In a sense I have the feeling, that perhaps what I do is a good default solution. Perhaps a good medium balance is to document this workaround :) And i can do that.