realm / realm-dart

Realm is a mobile database: a replacement for SQLite & ORMs.
Apache License 2.0
772 stars 86 forks source link

Missing prefix on realm model name #1747

Closed nwolfe1808 closed 4 months ago

nwolfe1808 commented 4 months ago

What happened?

While running dart run realm generate, I'm getting the error `Missing prefix on realm model name

in: package:cost_savings/models/servicehour.dart:5:7 ╷ 4 │ @RealmModel() 5 │ class ServiceHour { │ ^^^^^^^^^^^ missing prefix ╵ Align class name to match prefix [$] (regular expression),`

However, I have a "$" prefix before the class name

image

Repro steps

Create a RealmModel class with a $ prefix and then run 'dart run realm generate'

Version

Flutter (Channel stable, 3.22.2)

What Atlas Services are you using?

Local Database only

What type of application is this?

Flutter Application

Client OS and version

MacOS 15 beta

Code snippets

No response

Stacktrace of the exception/crash you're getting

No response

Relevant log output

No response

sync-by-unito[bot] commented 4 months ago

➤ PM Bot commented:

Jira ticket: RDART-1070

nwolfe1808 commented 4 months ago

Found the issue - git workflow conflicts