-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dynamic Text Template
infrastructure.
#16754
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #16754 +/- ##
==========================================
+ Coverage 53.47% 53.48% +0.01%
==========================================
Files 2976 2981 +5
Lines 92124 92225 +101
==========================================
+ Hits 49263 49329 +66
- Misses 42861 42896 +35
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
||
[NotNull] | ||
IReadOnlyList<TemplateDefinition> GetAll(); | ||
Task<IReadOnlyList<TemplateDefinition>> GetAllAsync(); | ||
|
||
[CanBeNull] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[CanBeNull] | |
[ItemCanBeNull] |
@@ -1,16 +1,17 @@ | |||
using System.Collections.Generic; | |||
using System.Threading.Tasks; | |||
using JetBrains.Annotations; | |||
|
|||
namespace Volo.Abp.TextTemplating; | |||
|
|||
public interface ITemplateDefinitionManager | |||
{ | |||
[NotNull] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[NotNull] | |
[ItemNotNull] |
using JetBrains.Annotations; | ||
|
||
namespace Volo.Abp.TextTemplating; | ||
|
||
public interface ITemplateDefinitionManager | ||
{ | ||
[NotNull] | ||
TemplateDefinition Get([NotNull] string name); | ||
Task<TemplateDefinition> GetAsync([NotNull] string name); | ||
|
||
[NotNull] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[NotNull] | |
[ItemNotNull] |
I will do the changes, no problem. Can you please create a migration guide and write that change for 7.4. |
ok. |
Breaking change:
LocalizationResource(Type)
ofTemplateDefinition
class is changed toLocalizationResourceName(string)