question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Customize code using Handlebars, Handlebars not works in EF Core Power Tools (EF core 6,vs 2022)

See original GitHub issue

class.hbs eg

`{{> imports}}

namespace {{namespace}} { {{#if comment}} ///

/// {{comment}} /// {{/if}} {{#if class-annotation}} {{{class-annotation}}} {{/if}} public partial class {{class}}:MyBase { {{{> constructor}}} {{{> properties}}} } } `

image

result no MyBase

Steps to reproduce

Please include a complete description that I can redo to reproduce the issue.

Further technical details

EF Core version in use: (e.g. EF Core 6)

EF Core Power Tools version: (found in About dialog - blue questionmark icon on context menu)

Database engine: (SQL Server)

Visual Studio version: (e.g. Visual Studio 2022)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tonysneedcommented, Dec 19, 2021

Over the next week Handlebars.Net will release a patch to fix the encoding issue. At that time I will also update my Handlebars library to include the fix.

0reactions
ErikEJcommented, Dec 23, 2021

Fixed in latest daily

Read more comments on GitHub >

github_iconTop Results From Across the Web

TrackableEntities/ef-core-community-handlebars
Demos for July 2020 EF Core Community Standup. ... Code Power Tools, which allow you to customize generated code using Handlebars templates.
Read more >
Customize EF Core Scaffolding with Handlebars Templates
Are you using the EF Core CLI – and not the EF Core Power Tools? The helper functions are only available from the...
Read more >
Tools & Extensions - EF Core
Handlebars. Allows customization of classes reverse engineered from an existing database using the Entity Framework Core tool chain with ...
Read more >
Breaking changes in EF Core 6.0
In this article​​ The following API and behavior changes have the potential to break existing applications updating to EF Core 6.0.
Read more >
Untitled
From paris with love trivia, Titanic quotes not from the movie, 7 princess ... Brown handlebar tape, Post indicator valve and fire department...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found